summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanani Ravichandran <janani.rvchndrn@gmail.com>2016-02-11 16:33:15 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-11 19:40:02 -0800
commit1d5047c981f2e5a0fe6003c98b9c742c349d75a3 (patch)
treef190c2fa71b5ed552d0aac951a273d8d7a570f7a
parentbeb6e57b50dcccf14077a20789f7b9bec9f6a3ad (diff)
staging: octeon: Remove unneeded parentheses in assignment
Remove parentheses around the right hand side of assignments as they are not needed. Semantic patch used: @@ expression a, b, c; @@ ( a = (b == c) | a = - ( b - ) ) Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/octeon-usb/octeon-hcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c
index 16d45879d0c4..7844e2036060 100644
--- a/drivers/staging/octeon-usb/octeon-hcd.c
+++ b/drivers/staging/octeon-usb/octeon-hcd.c
@@ -1048,7 +1048,7 @@ static struct cvmx_usb_port_status cvmx_usb_get_status(
result.port_speed = usbc_hprt.s.prtspd;
result.connected = usbc_hprt.s.prtconnsts;
result.connect_change =
- (result.connected != usb->port_status.connected);
+ result.connected != usb->port_status.connected;
return result;
}