Commit 149ad082 authored by sayli karnik's avatar sayli karnik Committed by Greg Kroah-Hartman

staging: ks7010: Remove extra round braces around expressions/variables

This patch removes excess round braces around expressions/variables.
Signed-off-by: default avatarsayli karnik <karniksayli1995@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ca476515
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment