Thread (20 messages) 20 messages, 3 authors, 2018-10-04

Re: [PATCH net-next 3/5] net: phy: mscc: remove unneeded parenthesis

From: Andrew Lunn <andrew@lunn.ch>
Date: 2018-09-14 13:04:51
Also in: lkml

On Fri, Sep 14, 2018 at 10:33:45AM +0200, Quentin Schulz wrote:
The == operator precedes the || operator, so we can remove the
parenthesis around (a == b) || (c == d).

The condition is rather explicit and short so removing the parenthesis
definitely does not make it harder to read.

Signed-off-by: Quentin Schulz <redacted>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help