staging: wilc1000: remove parentheses on right hand side of assignment
authorAlison Schofield <amsfield22@gmail.com>
Thu, 11 Feb 2016 05:34:41 +0000 (21:34 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Feb 2016 03:31:50 +0000 (19:31 -0800)
Remove the unnecessary parens on right hand side of assignment.

Found using Coccinelle:
@@
identifier x;
expression e1, e2;
@@
- x = (e1 << e2)
+ x = e1 << e2

Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan.c

index 8712edaf0bb7c38ec6f288c6f3eec96c3510f1c3..a396ac92a6500c5ce9a87b7cb74b78e247557e9c 100644 (file)
@@ -921,11 +921,11 @@ static void wilc_wlan_handle_isr_ext(struct wilc *wilc, u32 int_status)
        int ret = 0;
        struct rxq_entry_t *rqe;
 
-       size = ((int_status & 0x7fff) << 2);
+       size = (int_status & 0x7fff) << 2;
 
        while (!size && retries < 10) {
                wilc->hif_func->hif_read_size(wilc, &size);
-               size = ((size & 0x7fff) << 2);
+               size = (size & 0x7fff) << 2;
                retries++;
        }