From: Tina Johnson Date: Sat, 25 Oct 2014 17:43:41 +0000 (+0530) Subject: Staging: slicoss: Removed unnecessary parentheses X-Git-Tag: v5.15~16669^2~903 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=db9c9305701a2ee006d2a28770a7aa2dda70a087;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c index 71bc4ed..cff7cbe 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);