Re: [PATCH net-next 2/3] ezchip: Switch to some devm_ function to simplify code

From: Jakub Kicinski
Date: Wed Jan 04 2023 - 23:54:49 EST


On Wed, 4 Jan 2023 22:05:33 +0100 Christophe JAILLET wrote:
> devm_alloc_etherdev() and devm_register_netdev() can be used to simplify
> code.
>
> Now the error handling path of the probe and the remove function are
> useless and can be removed completely.

Right, but this is very likely a dead driver. Why invest in refactoring?