staging: rtl8188eu: remove all DBG_88E calls from os_dep/usb_intf.c
authorPhillip Potter <phil@philpotter.co.uk>
Tue, 15 Jun 2021 00:14:51 +0000 (01:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jun 2021 11:56:11 +0000 (13:56 +0200)
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 <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210615001507.1171-13-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/usb_intf.c

index 3a970d6..5ca54dc 100644 (file)
@@ -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;
        }