mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
staging: rtl8188eu: os_dep: Removed unnecessary return.
This patch fixes
WARNING: void function return statements are not generally useful
checkpatch.pl warning in usb_intf.c by using this coccinelle script
@r@
identifier i;
@@
void i(...)
{
...
-return;
}
Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Reviewed-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9d9921e930
commit
04947c5be5
|
|
@ -556,8 +556,6 @@ static void rtw_dev_remove(struct usb_interface *pusb_intf)
|
|||
|
||||
RT_TRACE(_module_hci_intfs_c_, _drv_err_, ("-dev_remove()\n"));
|
||||
DBG_88E("-r871xu_dev_remove, done\n");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static struct usb_driver rtl8188e_usb_drv = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user