Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752083AbbG2F2q (ORCPT ); Wed, 29 Jul 2015 01:28:46 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:33478 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750957AbbG2F2o (ORCPT ); Wed, 29 Jul 2015 01:28:44 -0400 From: Shraddha Barke To: Johnny Kim , Rachel Kim , Dean Lee , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Chris Park Cc: devel@driverdev.osuosl.org, Shraddha Barke Subject: [PATCH] Staging : wilc1000: Remove unnecessary parentheses Date: Wed, 29 Jul 2015 10:57:50 +0530 Message-Id: <1438147670-7590-1-git-send-email-shraddha.6596@gmail.com> X-Mailer: git-send-email 2.1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1065 Lines: 46 Remove parentheses around the right hand side of an assignment as they are not needed The semantic patch used is : @@ expression E; expression f; constant C; @@ ( f = (E == C) | f = - ( E - ) ) Signed-off-by: Shraddha Barke --- drivers/staging/wilc1000/wilc_sdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/wilc_sdio.c b/drivers/staging/wilc1000/wilc_sdio.c index 897e47e..4b81f17 100644 --- a/drivers/staging/wilc1000/wilc_sdio.c +++ b/drivers/staging/wilc1000/wilc_sdio.c @@ -1072,7 +1072,7 @@ static int sdio_clear_int_ext(uint32_t val) cmd.function = 0; cmd.raw = 0; cmd.address = 0xf8; - cmd.data = (1 << i); + cmd.data = 1 << i; ret = g_sdio.sdio_cmd52(&cmd); if (!ret) { -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/