staging: rtl8188eu: core: rtw_security: Remove return statement from void function
authorGeorgiana Rodica Chelu <georgiana.chelu93@gmail.com>
Sat, 24 Sep 2016 20:35:53 +0000 (23:35 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Sep 2016 10:42:35 +0000 (12:42 +0200)
Remove the return statement from the end of a void function
to clean up the code.

Issue found by checkpatch.pl script.

Signed-off-by: Georgiana Rodica Chelu <georgiana.chelu93@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_security.c

index 442a614a3726bf499f2c166d205d13eec01ee6c8..85bb441a7214d88234d76aca58994aa95a9af374 100644 (file)
@@ -233,7 +233,6 @@ void rtw_wep_decrypt(struct adapter  *padapter, u8 *precvframe)
                                 &crc, &payload[length-4]));
                }
        }
-       return;
 }
 
 /* 3           ===== TKIP related ===== */