]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
Staging: rtl8188eu: Get rid of custom macro, DBG_88E in kmalloc
authorMadhumitha Prabakaran <madhumithabiw@gmail.com>
Tue, 26 Mar 2019 14:57:42 +0000 (09:57 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Mar 2019 14:33:26 +0000 (23:33 +0900)
Get rid of custom macro, DBG_88E for printing message in kmalloc
in order to maintain Linux kernel coding style based on which kernel
does not print failure warning.

Issue suggested by Coccinelle.

Signed-off-by: Madhumitha Prabakaran <madhumithabiw@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c

index e4f2af2974edd030e3c8e883d84d345eed98acbd..eedf2cd831d10cd2c88917fd35cdfe610b90190c 100644 (file)
@@ -232,7 +232,6 @@ static int usbctrl_vendorreq(struct adapter *adapt, u8 request, u16 value, u16 i
        pIo_buf = kmalloc(MAX_USB_IO_CTL_SIZE, GFP_ATOMIC);
 
        if (!pIo_buf) {
-               DBG_88E("[%s] pIo_buf == NULL\n", __func__);
                status = -ENOMEM;
                goto release_mutex;
        }