Re: [PATCH linux-next] mlxsw: remove redundant err variable
From: Petr Machata
Date: Mon Aug 29 2022 - 07:32:33 EST
cgel.zte@xxxxxxxxx writes:
> From: Jinpeng Cui <cui.jinpeng2@xxxxxxxxxx>
>
> Return value from mlxsw_core_bus_device_register() directly
> instead of taking this in another redundant variable.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: Jinpeng Cui <cui.jinpeng2@xxxxxxxxxx>
Reviewed-by: Petr Machata <petrm@xxxxxxxxxx>
Thanks!