Thread (11 messages) 11 messages, 8 authors, 2026-02-03

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

From: Michael Grzeschik <hidden>
Date: 2026-01-31 21:30:07
Also in: linux-can, linux-wireless

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>
---
drivers/net/arcnet/com20020.c                 | 16 ----------
For drivers/net/arcnet:

Acked-by: Michael Grzeschik <redacted>

Michael

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help