Re: [PATCH net-next v2] fjes: Fix an error handling path in fjes_probe()

From: Jiri Pirko
Date: Thu Jan 05 2023 - 09:12:46 EST


Wed, Jan 04, 2023 at 09:40:47PM CET, christophe.jaillet@xxxxxxxxxx wrote:
>free_netdev() already calls netif_napi_del(), no need to call it
>explicitly.
>It's harmless, but useless.
>
>Remove the call, make the error handling path of the probe and the remove
>function be consistent one with the other.
>
>Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>

Reviewed-by: Jiri Pirko <jiri@xxxxxxxxxx>