aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/util.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-08-29 17:17:41 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-09-13 15:45:02 -0400
commit24616152b1d184864370c5ea21f8fdbd5a90d58d (patch)
tree58f21a71a8d02c25d56f96a4b47a251aaeae796a /net/wireless/util.c
parent246c0812049f92109ab9771e34480a2ce816f005 (diff)
wireless: Remove unnecessary OOM logging messages
Removing unnecessary messages saves code and text. Site specific OOM messages are duplications of a generic MM out of memory message and aren't really useful, so just delete them. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/util.c')
-rw-r--r--net/wireless/util.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/wireless/util.c b/net/wireless/util.c
index eef82f79554d..39dbf4ad7ca1 100644
--- a/net/wireless/util.c
+++ b/net/wireless/util.c
@@ -513,10 +513,9 @@ int ieee80211_data_from_8023(struct sk_buff *skb, const u8 *addr,
513 if (head_need) 513 if (head_need)
514 skb_orphan(skb); 514 skb_orphan(skb);
515 515
516 if (pskb_expand_head(skb, head_need, 0, GFP_ATOMIC)) { 516 if (pskb_expand_head(skb, head_need, 0, GFP_ATOMIC))
517 pr_err("failed to reallocate Tx buffer\n");
518 return -ENOMEM; 517 return -ENOMEM;
519 } 518
520 skb->truesize += head_need; 519 skb->truesize += head_need;
521 } 520 }
522 521