This patch fixes up unncessary parentheses warning found by checkpatch.pl script

Signed-off-by: Yash Omer<yashomer0...@gmail.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

Reply via email to