[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230104205438.61a7dc20@kernel.org>
Date: Wed, 4 Jan 2023 20:54:38 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: "David S . Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 2/3] ezchip: Switch to some devm_ function to
simplify code
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?
Powered by blists - more mailing lists