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

Re: [PATCH net-next 5/5] net: phy: mscc: remove unneeded temporary variable

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

On Fri, Sep 14, 2018 at 10:33:47AM +0200, Quentin Schulz wrote:
Here, the rc variable is either used only for the condition right after
the assignment or right before being used as the return value of the
function it's being used in.

So let's remove this unneeded temporary variable whenever possible.

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