Re: [PATCH net-next] net: remove unnecessary module_init/exit functions

From
Ido Schimmel <idosch@nvidia.com>
Date
2026-02-01 13:47:54
Also in
linux-can, linux-wireless
Reply to
Ethan Nelson-Moore, 2026-01-31
On Fri, Jan 30, 2026 at 04:42:56PM -0800, Ethan Nelson-Moore wrote:
Many network drivers have unnecessary empty module_init and module_exit
functions. Remove them (including some that just print a message). Note
that if a module_init function exists, a module_exit function must also
exist; otherwise, the module cannot be unloaded.

Signed-off-by: Ethan Nelson-Moore <redacted>
For mlxsw:

Reviewed-by: Ido Schimmel <idosch@nvidia.com>

Thanks
Thread (11 messages) 11 messages, 8 authors, last reply 2026-02-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help