[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f102358e-bc40-e1df-1a75-ba6989e5ddc9@gmail.com>
Date: Fri, 14 Sep 2018 19:19:40 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Quentin Schulz <quentin.schulz@...tlin.com>, davem@...emloft.net,
andrew@...n.ch
Cc: allan.nielsen@...rochip.com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, thomas.petazzoni@...tlin.com
Subject: Re: [PATCH net-next 5/5] net: phy: mscc: remove unneeded temporary
variable
On 09/14/18 01:33, 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 <quentin.schulz@...tlin.com>
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists