Skip to contentSkip to conversation

Staging: rtl8188eu: Get rid of custom macro, DBG_88E in kmalloc

PATCH New Madhumitha Prabakaran 1 participant 1 message Mar 26, 2019 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Staging: rtl8188eu: Get rid of custom macro, DBG_88E in kmalloc

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.

---
Change in v2:

- Missed email address

 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c +0 -1
index e4f2af2974ed..eedf2cd831d1 100644
@@ -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;
 	}
Signature · 1 line
2.17.1