瀏覽代碼

qcacld-3.0: Remove the excessive logging in hdd_get_adapter_by_vdev

hdd_get_adapter_by_vdev() is an utility function, and shouldn't
have the error message inside the function. Caller can log the
error message based on the return value.
This change will reduce the excessive logging in the system.

Change-Id: I64d7a0e3e180a636d710b42837ff3a982853fb12
CRs-Fixed: 2164658
Kabilan Kannan 7 年之前
父節點
當前提交
9d2c987e6d
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      core/hdd/src/wlan_hdd_main.c

+ 0 - 3
core/hdd/src/wlan_hdd_main.c

@@ -5821,9 +5821,6 @@ struct hdd_adapter *hdd_get_adapter_by_vdev(struct hdd_context *hdd_ctx,
 			return adapter;
 	}
 
-	hdd_err_ratelimited(RATE_LIMIT_ERROR_LOG,
-		"vdev_id %d does not exist with host", vdev_id);
-
 	return NULL;
 }