Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: rtl8192e: remove unnecesasry ftrace-like logging

Fixed Check: Remove unnecessary ftrace-like logging by simply deleting
that statement as we have other modes of logging like ftrace.
Reported by checkpatch.

Signed-off-by: zhaoxiao <zhaoxiao@uniontech.com>
Link: https://lore.kernel.org/r/20210430122826.9899-1-zhaoxiao@uniontech.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

zhaoxiao and committed by
Greg Kroah-Hartman
66d708e6 5e7106f6

-5
-1
drivers/staging/rtl8192e/rtllib_softmac.c
··· 730 730 /* called with ieee->lock held */ 731 731 static void rtllib_start_scan(struct rtllib_device *ieee) 732 732 { 733 - RT_TRACE(COMP_DBG, "===>%s()\n", __func__); 734 733 if (ieee->rtllib_ips_leave_wq != NULL) 735 734 ieee->rtllib_ips_leave_wq(ieee->dev); 736 735
-4
drivers/staging/rtl8192e/rtllib_wx.c
··· 293 293 int i, key, key_provided, len; 294 294 struct lib80211_crypt_data **crypt; 295 295 296 - netdev_dbg(ieee->dev, "%s()\n", __func__); 297 - 298 296 key = erq->flags & IW_ENCODE_INDEX; 299 297 if (key) { 300 298 if (key > NUM_WEP_KEYS) ··· 460 462 struct iw_point *erq = &(wrqu->encoding); 461 463 int len, key; 462 464 struct lib80211_crypt_data *crypt; 463 - 464 - netdev_dbg(ieee->dev, "%s()\n", __func__); 465 465 466 466 if (ieee->iw_mode == IW_MODE_MONITOR) 467 467 return -1;