Browse Source

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 years ago
parent
commit
9d2c987e6d
1 changed files with 0 additions and 3 deletions
  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;
 }