mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 07:01:32 +00:00
21f644f3ea
If print_mac() is used inside of a pr_debug() the compiler can't see that the call is redundant so still performs it even of pr_debug() ends up being a nop. So don't use print_mac() in such cases in hot code paths, use MAC_FMT et al. instead. As noted by Joe Perches, pr_debug() could be modified to handle this better, but that is a change to an interface used by the entire kernel and thus needs to be validated carefully. This here is thus the less risky fix for 2.6.25 Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
softmac | ||
ieee80211_crypt_ccmp.c | ||
ieee80211_crypt_tkip.c | ||
ieee80211_crypt_wep.c | ||
ieee80211_crypt.c | ||
ieee80211_geo.c | ||
ieee80211_module.c | ||
ieee80211_rx.c | ||
ieee80211_tx.c | ||
ieee80211_wx.c | ||
Kconfig | ||
Makefile |