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

- From: Andrew Lunn \<andrew@lunn.ch\>
- Date: 2026-02-02 20:29:13 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/02/9361819
- 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.

I could be missing it, but which module does not have an module_exit
function?

I ask, because maybe the author does not want to allow the module to
be unloaded. We should look at the history of that module.

   Andrew
```
