diff --git a/core/hdd/src/wlan_hdd_stats.c b/core/hdd/src/wlan_hdd_stats.c index 338537bce616..52000d22b9fd 100644 --- a/core/hdd/src/wlan_hdd_stats.c +++ b/core/hdd/src/wlan_hdd_stats.c @@ -5628,9 +5628,8 @@ static void hdd_get_class_a_statistics_cb(void *stats, void *context) tCsrGlobalClassAStatsInfo *returned_stats; hdd_enter(); - if ((NULL == stats) || (NULL == context)) { - hdd_err("Bad param, stats [%pK] context [%pK]", - stats, context); + if (NULL == stats) { + hdd_err("Bad param, stats"); return; }