staging: rtl8723au: core: rtw_security: Fix void function return statements style...
authorYeliz Taneroglu <yeliztaneroglu@gmail.com>
Thu, 9 Oct 2014 13:35:32 +0000 (16:35 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:30:12 +0000 (10:30 +0800)
The following patch fixes the checkpatch.pl warning:

drivers/staging/rtl8723au/core/rtw_security.c WARNING: void function return statements are not generally useful

Signed-off-by: Yeliz Taneroglu <yeliztaneroglu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_security.c

index 5da620c7ba8233ea99413f06a7eb92f2f0ebfce7..60e944554ec573ed689c1fb679f35eb9c3971026 100644 (file)
@@ -259,8 +259,6 @@ void rtw_wep_decrypt23a(struct rtw_adapter *padapter,
                          crc[1], payload[length - 3],
                          crc[0], payload[length - 4]));
        }
-
-       return;
 }
 
 /* 3           ===== TKIP related ===== */