Преглед изворни кода

qcacmn: Remove success log instead log on failure

Do not log when we succeed to find the vdev for vdev_id.
Instead log only on failure.

Change-Id: I292839af763a77c2c5e75124b24accbee222d58f
CRs-Fixed: 2501696
Manjunathappa Prakash пре 5 година
родитељ
комит
31a575b99e
1 измењених фајлова са 2 додато и 4 уклоњено
  1. 2 4
      dp/wifi3.0/dp_peer.h

+ 2 - 4
dp/wifi3.0/dp_peer.h

@@ -171,16 +171,14 @@ dp_get_vdev_from_soc_vdev_id_wifi3(struct dp_soc *soc,
 		qdf_spin_lock_bh(&pdev->vdev_list_lock);
 		TAILQ_FOREACH(vdev, &pdev->vdev_list, vdev_list_elem) {
 			if (vdev->vdev_id == vdev_id) {
-				QDF_TRACE(QDF_MODULE_ID_DP,
-					QDF_TRACE_LEVEL_INFO,
-					FL("Found vdev 0x%pK on pdev %d"),
-					vdev, i);
 				qdf_spin_unlock_bh(&pdev->vdev_list_lock);
 				return vdev;
 			}
 		}
 		qdf_spin_unlock_bh(&pdev->vdev_list_lock);
 	}
+	dp_err("Failed to find vdev for vdev_id %d", vdev_id);
+
 	return NULL;
 
 }