dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/net/ieee80211
David S. Miller 21f644f3ea [NET]: Undo code bloat in hot paths due to print_mac().
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>
2008-04-08 16:50:44 -07:00
..
softmac ieee80211softmac_auth_resp() fix 2008-01-28 15:08:47 -08:00
Kconfig softmac: mark as obsolete and schedule for removal 2008-01-28 14:55:36 -08:00
Makefile [PATCH] softmac: fix Makefiles 2006-03-22 22:16:51 -05:00
ieee80211_crypt.c [PATCH] Update my email address from jkmaline@cc.hut.fi to j@w1.fi 2007-04-28 11:01:01 -04:00
ieee80211_crypt_ccmp.c ieee80211: Stop net_ratelimit/IEEE80211_DEBUG_DROP log pollution 2007-11-20 16:43:17 -05:00
ieee80211_crypt_tkip.c ieee80211: fix misannotations 2008-01-28 15:08:48 -08:00
ieee80211_crypt_wep.c [NET]: Removing duplicit #includes 2007-11-07 04:11:44 -08:00
ieee80211_geo.c [PATCH] ieee80211: add ieee80211_channel_to_freq 2007-05-08 11:51:59 -04:00
ieee80211_module.c [NET]: Convert init_timer into setup_timer 2008-01-28 14:53:35 -08:00
ieee80211_rx.c [NET]: Undo code bloat in hot paths due to print_mac(). 2008-04-08 16:50:44 -07:00
ieee80211_tx.c ieee80211: fix misannotations 2008-01-28 15:08:48 -08:00
ieee80211_wx.c wireless: fix '!x & y' typo's 2008-01-28 15:03:35 -08:00