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:
parent
beb6e57b50
commit
1d5047c981
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue