diff options
author | Janani Ravichandran <janani.rvchndrn@gmail.com> | 2016-02-11 21:41:21 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-12 03:31:50 (GMT) |
commit | 5343c7bb0a67325c8a0012324e26b11625544686 (patch) | |
tree | eda546e56b992a66fb6ca4c4f00c2aa6e0cd61d3 /drivers | |
parent | e682e91b61f879f1e3b07813b7541c37b337bdfb (diff) | |
download | linux-5343c7bb0a67325c8a0012324e26b11625544686.tar.xz |
staging: wilc1000: Remove unneeded parentheses in assignment
Remove parentheses around the right hand side of assignments. They are
unnecessary.
Semantic patch:
@@
expression a, b, c;
@@
(
a = (b == c)
|
a =
- (
b
- )
)
Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/wilc1000/wilc_sdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/wilc_sdio.c b/drivers/staging/wilc1000/wilc_sdio.c index 7c20c8c..963875af 100644 --- a/drivers/staging/wilc1000/wilc_sdio.c +++ b/drivers/staging/wilc1000/wilc_sdio.c @@ -676,7 +676,7 @@ static int sdio_init(struct wilc *wilc, bool resume) if (!resume) { memset(&g_sdio, 0, sizeof(wilc_sdio_t)); - g_sdio.irq_gpio = (wilc->dev_irq_num); + g_sdio.irq_gpio = wilc->dev_irq_num; } /** |