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>
This commit is contained in:
Janani Ravichandran 2016-02-11 16:33:15 -05:00 committed by Greg Kroah-Hartman
parent beb6e57b50
commit 1d5047c981

View file

@ -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;
}