Skip to contentSkip to conversation

staging: wilc1000: Remove unneeded parentheses in assignment

PATCH Superseded Janani Ravichandran 1 participant 1 message Feb 11, 2016 Staging

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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
- )
)

---
 drivers/staging/wilc1000/wilc_sdio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/wilc1000/wilc_sdio.c +1 -1
index 7c20c8c..963875af 100644
@@ -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;
 	}
 
 	/**
Signature · 1 line
2.5.0