]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8192e: rtl8192e: Remove unnecessary return statements
authorFeyza Yavuz <feyzaayavuz@gmail.com>
Wed, 1 Oct 2014 18:29:51 +0000 (21:29 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Oct 2014 18:56:43 +0000 (11:56 -0700)
Patch the following checkpatch.pl warnings

drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c:304: warning:
void function return statements are not generally useful
drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c:83: warning:
void function return statements are not generally useful

Signed-off-by: Feyza Yavuz <feyzaayavuz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c

index a1ecdff2b627ad13f23848c0c389a33fcf59bca3..6ef0566fff4897cc3bf8553a9bdf9b0137b7aabc 100644 (file)
@@ -79,7 +79,6 @@ void PHY_SetRF8256Bandwidth(struct net_device *dev,
 
                }
        }
-       return;
 }
 
 bool PHY_RF8256_Config(struct net_device *dev)
@@ -300,5 +299,4 @@ void PHY_SetRF8256OFDMTxPower(struct net_device *dev, u8 powerlevel)
                rtl8192_setBBreg(dev, RegOffset[index], 0x7f7f7f7f, writeVal);
        }
 
-       return;
 }