summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorEthan Nelson-Moore <enelsonmoore@gmail.com>2026-01-30 16:42:56 -0800
committerJakub Kicinski <kuba@kernel.org>2026-02-02 17:25:23 -0800
commite0221553436b1c49a14ae251d95ea2e19c5b5a14 (patch)
tree8a668e40680e762b94ddb50ea46f0eb7e83f3cfb /include/linux
parent14e6cf8474e15f5599de2be7b66226138c0a9fc2 (diff)
net: remove unnecessary module_init/exit functions
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 <enelsonmoore@gmail.com> Acked-by: Marc Kleine-Budde <mkl@pengutronix.de> Acked-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Acked-by: Ping-Ke Shih <pkshih@realtek.com> Acked-by: Toke Høiland-Jørgensen <toke@toke.dk> Link: https://patch.msgid.link/20260131004327.18112-1-enelsonmoore@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions