diff --git a/drivers/staging/rtl8192u/r819xU_phy.c b/drivers/staging/rtl8192u/r819xU_phy.c
index 387d137ec9ffacbb9282396abe278b9f93b8fc4c..07a178d50f02bb4d6328f7e68c209f419db68870 100644
--- a/drivers/staging/rtl8192u/r819xU_phy.c
+++ b/drivers/staging/rtl8192u/r819xU_phy.c
@@ -108,13 +108,12 @@ void rtl8192_setBBreg(struct net_device *dev, u32 reg_addr, u32 bitmask,
  * ****************************************************************************/
 u32 rtl8192_QueryBBReg(struct net_device *dev, u32 reg_addr, u32 bitmask)
 {
-	u32 Ret = 0, reg, bitshift;
+	u32 reg, bitshift;
 
 	read_nic_dword(dev, reg_addr, &reg);
 	bitshift = rtl8192_CalculateBitShift(bitmask);
-	Ret = (reg & bitmask) >> bitshift;
 
-	return Ret;
+	return (reg & bitmask) >> bitshift;
 }
 static u32 phy_FwRFSerialRead(struct net_device *dev, RF90_RADIO_PATH_E eRFPath,
 			      u32 offset);