diff options
| author | Tina Johnson <tinajohnson.1234@gmail.com> | 2014-10-25 23:13:41 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-28 15:58:17 +0800 |
| commit | db9c9305701a2ee006d2a28770a7aa2dda70a087 (patch) | |
| tree | 5834dadf9608dad5a023b2a76c582b4be89f6a8e /drivers/staging/slicoss | |
| parent | dfd94488a8aa9320d8048a108c602bf4307d4734 (diff) | |
| download | linux-db9c9305701a2ee006d2a28770a7aa2dda70a087.tar.gz linux-db9c9305701a2ee006d2a28770a7aa2dda70a087.tar.bz2 linux-db9c9305701a2ee006d2a28770a7aa2dda70a087.zip | |
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: Tina Johnson <tinajohnson.1234@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/slicoss')
| -rw-r--r-- | drivers/staging/slicoss/slicoss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c index 71bc4edae322..cff7cbea526b 100644 --- a/drivers/staging/slicoss/slicoss.c +++ b/drivers/staging/slicoss/slicoss.c @@ -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); |
