]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: ks7010: Remove extra round braces around expressions/variables
authorsayli karnik <karniksayli1995@gmail.com>
Sun, 18 Sep 2016 07:26:25 +0000 (12:56 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 Sep 2016 10:36:04 +0000 (12:36 +0200)
This patch removes excess round braces around expressions/variables.

Signed-off-by: sayli karnik <karniksayli1995@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks7010_sdio.c

index a9fac712ee2c2b68a0c331e8a632befe1b3744ad..f7ed8dba58acbda552ab0dc05cf3ef380ce7c0f8 100644 (file)
@@ -537,7 +537,7 @@ static void ks7010_rw_function(struct work_struct *work)
 
        if (rw_data & RSIZE_MASK) {     /* Read schedule */
                ks_wlan_hw_rx((void *)priv,
-                             (uint16_t)(((rw_data & RSIZE_MASK) << 4)));
+                             (uint16_t)((rw_data & RSIZE_MASK) << 4));
        }
        if ((rw_data & WSTATUS_MASK))
                tx_device_task((void *)priv);
@@ -609,7 +609,7 @@ static void ks_sdio_interrupt(struct sdio_func *func)
                        rsize = rw_data & RSIZE_MASK;
                        if (rsize) {    /* Read schedule */
                                ks_wlan_hw_rx((void *)priv,
-                                             (uint16_t)(((rsize) << 4)));
+                                             (uint16_t)(rsize << 4));
                        }
                        if (rw_data & WSTATUS_MASK) {
 #if 0