[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5820125.tyerhIWj94@localhost.localdomain>
Date: Fri, 13 Aug 2021 23:55:14 +0200
From: "Fabio M. De Francesco" <fmdefrancesco@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Phillip Potter <phil@...lpotter.co.uk>,
Larry Finger <Larry.Finger@...inger.net>,
Nathan Chancellor <nathan@...nel.org>
Cc: linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: r8188eu: Remove unnecessary ret variable in rtw_drv_init()
On Friday, August 13, 2021 10:14:18 PM CEST Nathan Chancellor wrote:
> ret is unnecessary as both error paths set the same error code so just
> return that directly.
>
> Suggested-by: Fabio M. De Francesco <fmdefrancesco@...il.com>
> Signed-off-by: Nathan Chancellor <nathan@...nel.org>
Much nicer!
Reviewed-by: Fabio M. De Francesco <fmdefrancesco@...il.com>
Thanks,
Fabio
Powered by blists - more mailing lists