diff options
author | Varsha Rao <rvarsha016@gmail.com> | 2017-03-04 15:56:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-09 21:06:36 +0300 |
commit | 4e1c89dec89ac2b94faf2b1b39197086d0a6352d (patch) | |
tree | 85a49b6de817119c1cb65cecbc610829ab50245c /drivers/staging/sm750fb/ddk750_chip.c | |
parent | e5619b1350946d7aabe8ed6b0210458a7057dd24 (diff) | |
download | linux-4e1c89dec89ac2b94faf2b1b39197086d0a6352d.tar.xz |
staging: sm750fb: Removed unnecessary parentheses.
Removed parentheses on the right hand side of assignment, as they are
not required. The following coccinelle script was used to fix this
issue:
@@
local idexpression id;
expression e;
@@
id =
-(
e
-)
Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb/ddk750_chip.c')
-rw-r--r-- | drivers/staging/sm750fb/ddk750_chip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c index 9e49298103bb..5e4bfb601cea 100644 --- a/drivers/staging/sm750fb/ddk750_chip.c +++ b/drivers/staging/sm750fb/ddk750_chip.c @@ -352,7 +352,7 @@ unsigned int sm750_calc_pll_value(unsigned int request_orig, struct pll_value *p RN = N * request; quo = RN / input; rem = RN % input;/* rem always small than 14318181 */ - fl_quo = (rem * 10000 / input); + fl_quo = rem * 10000 / input; for (d = max_d; d >= 0; d--) { X = BIT(d); |