diff options
author | Janani Ravichandran <janani.rvchndrn@gmail.com> | 2016-02-11 21:33:15 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-12 03:40:02 (GMT) |
commit | 1d5047c981f2e5a0fe6003c98b9c742c349d75a3 (patch) | |
tree | f190c2fa71b5ed552d0aac951a273d8d7a570f7a /drivers/staging/octeon-usb | |
parent | beb6e57b50dcccf14077a20789f7b9bec9f6a3ad (diff) | |
download | linux-1d5047c981f2e5a0fe6003c98b9c742c349d75a3.tar.xz |
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>
Diffstat (limited to 'drivers/staging/octeon-usb')
-rw-r--r-- | drivers/staging/octeon-usb/octeon-hcd.c | 2 |
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 16d4587..7844e20 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; } |