diff options
author | Xenia Ragiadakou <burzalodowa@gmail.com> | 2013-06-15 04:29:03 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-17 22:45:43 (GMT) |
commit | 4c8dd926200768edbc1cdb2c2e435490809e85ad (patch) | |
tree | 060e48c327e96ead9822d52fbb46fd7bb841f4fb /drivers/staging/rtl8192u/r819xU_phy.c | |
parent | 4a6094c3171233f1f34ec0dfb233fb9b21e2aecf (diff) | |
download | linux-4c8dd926200768edbc1cdb2c2e435490809e85ad.tar.xz |
staging: rtl8192u: fix return statements in r819xU_phy.c
This patch fixes the following checkpatch error:
ERROR: return is not a function, parentheses are not required
Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/r819xU_phy.c')
-rw-r--r-- | drivers/staging/rtl8192u/r819xU_phy.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/rtl8192u/r819xU_phy.c b/drivers/staging/rtl8192u/r819xU_phy.c index d1c3f04..f97a703 100644 --- a/drivers/staging/rtl8192u/r819xU_phy.c +++ b/drivers/staging/rtl8192u/r819xU_phy.c @@ -112,7 +112,7 @@ u32 rtl8192_QueryBBReg(struct net_device *dev, u32 dwRegAddr, u32 dwBitMask) BitShift = rtl8192_CalculateBitShift(dwBitMask); Ret =(OriginalValue & dwBitMask) >> BitShift; - return (Ret); + return Ret; } static u32 phy_FwRFSerialRead( struct net_device *dev, RF90_RADIO_PATH_E eRFPath, u32 Offset ); @@ -331,12 +331,12 @@ u32 rtl8192_phy_QueryRFReg(struct net_device *dev, RF90_RADIO_PATH_E eRFPath, u3 BitShift = rtl8192_CalculateBitShift(BitMask); Readback_Value = (Original_Value & BitMask) >> BitShift; udelay(200); - return (Readback_Value); + return Readback_Value; } else { Original_Value = rtl8192_phy_RFSerialRead(dev, eRFPath, RegAddr); BitShift = rtl8192_CalculateBitShift(BitMask); Readback_Value = (Original_Value & BitMask) >> BitShift; - return (Readback_Value); + return Readback_Value; } } /****************************************************************************** @@ -393,12 +393,12 @@ phy_FwRFSerialRead( udelay(10); read_nic_dword(dev, QPNR, &tmp); } else { - return (0); + return 0; } } read_nic_dword(dev, RF_DATA, &retValue); - return (retValue); + return retValue; } /* phy_FwRFSerialRead */ |