Commit 1d5047c9 authored by Janani Ravichandran's avatar Janani Ravichandran Committed by Greg Kroah-Hartman

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: default avatarJanani Ravichandran <janani.rvchndrn@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent beb6e57b
...@@ -1048,7 +1048,7 @@ static struct cvmx_usb_port_status cvmx_usb_get_status( ...@@ -1048,7 +1048,7 @@ static struct cvmx_usb_port_status cvmx_usb_get_status(
result.port_speed = usbc_hprt.s.prtspd; result.port_speed = usbc_hprt.s.prtspd;
result.connected = usbc_hprt.s.prtconnsts; result.connected = usbc_hprt.s.prtconnsts;
result.connect_change = result.connect_change =
(result.connected != usb->port_status.connected); result.connected != usb->port_status.connected;
return result; return result;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment