[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180217095645.22946-1-yashomer0007@gmail.com>
Date: Sat, 17 Feb 2018 15:26:45 +0530
From: Yash Omer <yashomer0007@...il.com>
To: gregkh@...uxfoundation.org
Cc: florian.c.schilhabel@...glemail.com,
driverdev-devel@...uxdriverproject.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] Staging: ks7010: fix unnecessary parentheses in ks_hostif.c
This patch fixes up unncessary parentheses warning found by checkpatch.pl script
Signed-off-by: Yash Omer<yashomer0007@...il.com>
---
drivers/staging/ks7010/ks_hostif.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 7bd567e233d7..36055652842d 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -36,7 +36,7 @@ inline u8 get_BYTE(struct ks_wlan_private *priv)
{
u8 data;
- data = *(priv->rxp)++;
+ data = *priv->rxp++;
/* length check in advance ! */
--(priv->rx_size);
return data;
--
2.14.3
Powered by blists - more mailing lists