staging: ks7010: Remove the space after a type cast
authorsayli karnik <karniksayli1995@gmail.com>
Sun, 18 Sep 2016 07:25:32 +0000 (12:55 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 Sep 2016 10:36:04 +0000 (12:36 +0200)
The patch removes an unnecessary space after a cast, as detected by
checkpatch.pl.

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

index d35cda8fb45bd7c850372df76b38c6d6ee47e5a8..a9fac712ee2c2b68a0c331e8a632befe1b3744ad 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
@@ -1150,7 +1150,7 @@ static void ks7010_sdio_remove(struct sdio_func *func)
                            cpu_to_le16((uint16_t)
                                        (sizeof(*pp) -
                                         sizeof(pp->header.size)));
-                       pp->header.event = cpu_to_le16((uint16_t) HIF_STOP_REQ);
+                       pp->header.event = cpu_to_le16((uint16_t)HIF_STOP_REQ);
 
                        sdio_claim_host(func);
                        write_to_device(priv, (unsigned char *)pp,