# Re: \[PATCH net-next\] net: remove unnecessary module\_init/exit functions

- From: Ido Schimmel \<idosch@nvidia.com\>
- Date: 2026-02-01 13:47:54 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/02/9361816
- Thread: https://ratatoskr.run/netdev/2026/01/9361801/t.md

```text
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
```
