Ethan Nelson-Moore [off-list ref] 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 ----------
drivers/net/can/sja1000/sja1000.c | 16 ----------
drivers/net/ethernet/8390/8390.c | 14 ---------
drivers/net/ethernet/8390/8390p.c | 11 -------
drivers/net/ethernet/mellanox/mlxsw/pci.c | 12 --------
drivers/net/hamradio/hdlcdrv.c | 20 -------------
drivers/net/net_failover.c | 13 ---------
drivers/net/wireless/ath/ath9k/common.c | 12 --------
.../realtek/rtlwifi/btcoexist/rtl_btc.c | 13 ---------
For rtlwifi driver:
Acked-by: Ping-Ke Shih <pkshih@realtek.com>