diff options
author | Tapasweni Pathak <tapaswenipathak@gmail.com> | 2014-09-21 05:38:20 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-23 08:04:57 -0700 |
commit | fbdba9c10bb43ae99b74341e6a4cc4f7f2f48bc8 (patch) | |
tree | a0d2567c7064d7dc6efba00205d875f8a84d601d /drivers/staging | |
parent | a2955b144b31a72a2feede70a99283c8f0c1eb3a (diff) |
Staging: rtl8712: remove void function return; statement
This patch fixes checkpatch.pl warning in files of rtl8712
WARNING : void function return statement are not generally useful
Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/rtl8712/rtl871x_security.c | 1 | ||||
-rw-r--r-- | drivers/staging/rtl8712/usb_intf.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/rtl8712/rtl871x_security.c b/drivers/staging/rtl8712/rtl871x_security.c index 0912f52def99..8faf22bb7c90 100644 --- a/drivers/staging/rtl8712/rtl871x_security.c +++ b/drivers/staging/rtl8712/rtl871x_security.c @@ -252,7 +252,6 @@ void r8712_wep_decrypt(struct _adapter *padapter, u8 *precvframe) /* calculate icv and compare the icv */ *((u32 *)crc) = cpu_to_le32(getcrc32(payload, length - 4)); } - return; } /* 3 =====TKIP related===== */ diff --git a/drivers/staging/rtl8712/usb_intf.c b/drivers/staging/rtl8712/usb_intf.c index beff69b3ff0c..89a6e3dfb237 100644 --- a/drivers/staging/rtl8712/usb_intf.c +++ b/drivers/staging/rtl8712/usb_intf.c @@ -635,7 +635,6 @@ static void r871xu_dev_remove(struct usb_interface *pusb_intf) * Reset usb port for sitesurvey fail issue. */ if (udev->state != USB_STATE_NOTATTACHED) usb_reset_device(udev); - return; } static int __init r8712u_drv_entry(void) |