[PATCH 7/9] Staging: Winbond: Fix parentheses in returns.

From: Akshay Joshi
Date: Mon Aug 15 2011 - 20:26:00 EST


Removes parentheses when calling return, since return is not a function.

Signed-off-by: Akshay Joshi <me@xxxxxxxxxxxxxxx>
---
drivers/staging/winbond/phy_calibration.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/winbond/phy_calibration.c b/drivers/staging/winbond/phy_calibration.c
index c5a07fb..816fe7c 100644
--- a/drivers/staging/winbond/phy_calibration.c
+++ b/drivers/staging/winbond/phy_calibration.c
@@ -51,7 +51,7 @@ s32 _s13_to_s32(u32 data)
if ((data & BIT(12)) != 0)
val |= 0xFFFFF000;

- return ((s32) val);
+ return (s32)val;
}

u32 _s32_to_s13(s32 data)
@@ -184,7 +184,7 @@ s32 _floor(s32 n)
else
n -= 5;

- return (n/10);
+ return n/10;
}

/****************************************************************************/
--
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/