summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanani Ravichandran <janani.rvchndrn@gmail.com>2016-02-11 16:41:21 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-11 19:31:50 -0800
commit5343c7bb0a67325c8a0012324e26b11625544686 (patch)
treeeda546e56b992a66fb6ca4c4f00c2aa6e0cd61d3
parente682e91b61f879f1e3b07813b7541c37b337bdfb (diff)
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>
-rw-r--r--drivers/staging/wilc1000/wilc_sdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/wilc_sdio.c b/drivers/staging/wilc1000/wilc_sdio.c
index 7c20c8c9c2bc..963875afc48f 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;
}
/**