Explorar o código

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>
Janani Ravichandran %!s(int64=9) %!d(string=hai) anos
pai
achega
5343c7bb0a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/staging/wilc1000/wilc_sdio.c

+ 1 - 1
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;
 	}
 
 	/**