From: Feyza Yavuz Date: Wed, 1 Oct 2014 18:29:51 +0000 (+0300) Subject: staging: rtl8192e: rtl8192e: Remove unnecessary return statements X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c2e191ebfe9bf5ab4eeae03cd36cc4e3b31aade3;p=linux-beck.git staging: rtl8192e: rtl8192e: Remove unnecessary return statements 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c b/drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c index a1ecdff2b627..6ef0566fff48 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c @@ -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; }