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?