staging: wilc1000: Remove unneeded parentheses in assignment
authorJanani Ravichandran <janani.rvchndrn@gmail.com>
Thu, 11 Feb 2016 21:41:21 +0000 (16:41 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Feb 2016 03:31:50 +0000 (19:31 -0800)
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>
drivers/staging/wilc1000/wilc_sdio.c

index 7c20c8c..963875a 100644 (file)
@@ -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;
        }
 
        /**