From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Fainelli Subject: Re: [PATCH net-next 5/5] net: phy: mscc: remove unneeded temporary variable Date: Fri, 14 Sep 2018 19:19:40 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: allan.nielsen@microchip.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, thomas.petazzoni@bootlin.com To: Quentin Schulz , davem@davemloft.net, andrew@lunn.ch Return-path: In-Reply-To: Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 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 Reviewed-by: Florian Fainelli -- Florian