mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-15 11:08:06 +00:00
mac80211: remove string from unaligned packet warning
This really should never happen except very early in the process of bringing up a new driver, at which point you'll have to add more debugging in the driver and this string isn't useful. Remove it and save some size (when it's even compiled in.) Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
996bf99c71
commit
441275e103
1 changed files with 1 additions and 2 deletions
|
|
@ -661,8 +661,7 @@ static void ieee80211_parse_qos(struct ieee80211_rx_data *rx)
|
|||
static void ieee80211_verify_alignment(struct ieee80211_rx_data *rx)
|
||||
{
|
||||
#ifdef CONFIG_MAC80211_VERBOSE_DEBUG
|
||||
WARN_ONCE((unsigned long)rx->skb->data & 1,
|
||||
"unaligned packet at 0x%p\n", rx->skb->data);
|
||||
WARN_ON_ONCE((unsigned long)rx->skb->data & 1);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue