From: Phillip Potter Date: Tue, 15 Jun 2021 00:14:51 +0000 (+0100) Subject: staging: rtl8188eu: remove all DBG_88E calls from os_dep/usb_intf.c X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4a9b797466903e627ee2d431f77b2fc3e0746d6e;p=linux.git staging: rtl8188eu: remove all DBG_88E calls from os_dep/usb_intf.c Remove all DBG_88E calls from os_dep/usb_intf.c as this macro is unnecessary, and many of these calls are dubious in terms of necessity. Removing all calls will ultimately allow the removal of the macro itself. Signed-off-by: Phillip Potter Link: https://lore.kernel.org/r/20210615001507.1171-13-phil@philpotter.co.uk Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/os_dep/usb_intf.c b/drivers/staging/rtl8188eu/os_dep/usb_intf.c index 3a970d67aa8c8..5ca54dc36fa9b 100644 --- a/drivers/staging/rtl8188eu/os_dep/usb_intf.c +++ b/drivers/staging/rtl8188eu/os_dep/usb_intf.c @@ -351,7 +351,6 @@ static int rtw_usb_if1_init(struct usb_interface *pusb_intf) padapter->HalData = kzalloc(sizeof(struct hal_data_8188e), GFP_KERNEL); if (!padapter->HalData) { - DBG_88E("Failed to allocate memory for HAL data\n"); err = -ENOMEM; goto free_adapter; }