Commit db9c9305 authored by Tina Johnson's avatar Tina Johnson Committed by Greg Kroah-Hartman

Staging: slicoss: Removed unnecessary parentheses

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: default avatarTina Johnson <tinajohnson.1234@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dfd94488
...@@ -1611,7 +1611,7 @@ static int slic_rcvqueue_init(struct adapter *adapter) ...@@ -1611,7 +1611,7 @@ static int slic_rcvqueue_init(struct adapter *adapter)
rcvq->size = SLIC_RCVQ_ENTRIES; rcvq->size = SLIC_RCVQ_ENTRIES;
rcvq->errors = 0; rcvq->errors = 0;
rcvq->count = 0; rcvq->count = 0;
i = (SLIC_RCVQ_ENTRIES / SLIC_RCVQ_FILLENTRIES); i = SLIC_RCVQ_ENTRIES / SLIC_RCVQ_FILLENTRIES;
count = 0; count = 0;
while (i) { while (i) {
count += slic_rcvqueue_fill(adapter); count += slic_rcvqueue_fill(adapter);
......
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