[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1513952632-26737-1-git-send-email-pundirsumit11@gmail.com>
Date: Fri, 22 Dec 2017 19:53:52 +0530
From: Sumit Pundir <pundirsumit11@...il.com>
To: forest@...ttletooquiet.net
Cc: gregkh@...uxfoundation.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] Staging: vt6656: fix unnecessary parantheses
This patch fixes a coding style issue as noted by
checkpatch.pl related to unnecessary parentheses.
This patch fixes the following checkpatch.pl warning:
WARNING: Unnecessary parentheses around 'priv->basic_rates'.
Signed-off-by: Sumit Pundir <pundirsumit11@...il.com>
---
drivers/staging/vt6656/card.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/vt6656/card.c b/drivers/staging/vt6656/card.c
index 501f482..811602e 100644
--- a/drivers/staging/vt6656/card.c
+++ b/drivers/staging/vt6656/card.c
@@ -443,7 +443,7 @@ int vnt_ofdm_min_rate(struct vnt_private *priv)
int ii;
for (ii = RATE_54M; ii >= RATE_6M; ii--) {
- if ((priv->basic_rates) & ((u16)BIT(ii)))
+ if (priv->basic_rates & ((u16)BIT(ii)))
return true;
}
--
2.7.4
Powered by blists - more mailing lists