Unfortunately the current tree still includes all the fallout,
are you planning on cleaning this up again any time soon?
I've attached a codiff of a tree with and without this change
(might not include all drivers, but I think I enabled all that
build on x86_64). The _probe and _init_one functions should
be harmless, but there are lots of functions that look like
they would prefer to avoid useless overhead. A small sample:
drivers/net/starfire.c:
netdev_poll | +50
drivers/net/tokenring/olympic.c:
olympic_interrupt | +10
drivers/net/wan/pc300_drv.c:
cpc_net_rx | +11
drivers/net/wireless/ipw2200.c:
ipw_net_hard_start_xmit | +32
drivers/net/wireless/hostap/hostap_80211_rx.c:
hostap_rx_frame_decrypt | +27
hostap_80211_rx | +96
drivers/net/wireless/hostap/hostap_80211_tx.c:
hostap_master_start_xmit | +18
drivers/net/wireless/hostap/hostap_ap.c:
hostap_handle_sta_tx_exc | +13
hostap_ap_tx_cb_poll | +9
hostap_rx | +254
hostap_ap_tx_cb_auth | +62
hostap_ap_tx_cb_assoc | +26
hostap_handle_sta_tx | +90
hostap_handle_sta_rx | +63
<lots more wireless>
drivers/net/virtio_net.c:
start_xmit | +19
net/atm/lec.c:
lec_start_xmit | +118
lec_atm_send | +2
net/ieee80211/ieee80211_rx.c:
ieee80211_rx | +32