On Fri, Sep 20, 2019 at 04:30:13PM +0200, Markus Elfring wrote: > From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> > Date: Fri, 20 Sep 2019 16:07:07 +0200 > > * Return an error code without storing it in an intermediate variable. > > * Delete the local variable “ret” which became unnecessary > with this refactoring. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> Reviewed-by: Andrew Lunn <andrew@xxxxxxx> Andrew