Staging: slicoss: Removed unnecessary parentheses
authorTina Johnson <tinajohnson.1234@gmail.com>
Sat, 25 Oct 2014 17:43:41 +0000 (23:13 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Oct 2014 07:58:17 +0000 (15:58 +0800)
Unnecessary parentheses around the right hand side of an assignment
is removed using the following semantic patch:

@@
identifier x,f;
constant C;
@@
(
-x = (f / C );
+x = f / C ;
|
-x = (f % C );
+x = f % C ;
)

Signed-off-by: Tina Johnson <tinajohnson.1234@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/slicoss/slicoss.c

index 71bc4edae322c4bd644b9b6e944271bf272b0cac..cff7cbea526b82e21763d5b28be42e9581ed7824 100644 (file)
@@ -1611,7 +1611,7 @@ static int slic_rcvqueue_init(struct adapter *adapter)
        rcvq->size = SLIC_RCVQ_ENTRIES;
        rcvq->errors = 0;
        rcvq->count = 0;
-       i = (SLIC_RCVQ_ENTRIES / SLIC_RCVQ_FILLENTRIES);
+       i = SLIC_RCVQ_ENTRIES / SLIC_RCVQ_FILLENTRIES;
        count = 0;
        while (i) {
                count += slic_rcvqueue_fill(adapter);