소스 검색

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 9 년 전
부모
커밋
5343c7bb0a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
 	}
 
 	/**