projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d61c91
)
mwl8k: Remove unnecessary alloc/OOM messages
author
Joe Perches
<joe@perches.com>
Thu, 7 Feb 2013 20:37:47 +0000
(12:37 -0800)
committer
John W. Linville
<linville@tuxdriver.com>
Fri, 8 Feb 2013 19:51:35 +0000
(14:51 -0500)
alloc failures already get standardized OOM
messages and a dump_stack.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/mwl8k.c
b/drivers/net/wireless/mwl8k.c
index 51634f20539c735f9fe869e19ed0f2cf176403f5..8186af4ed47b3783b59d4be7390220ce6e21c18e 100644
(file)
--- a/
drivers/net/wireless/mwl8k.c
+++ b/
drivers/net/wireless/mwl8k.c
@@
-1149,7
+1149,6
@@
static int mwl8k_rxq_init(struct ieee80211_hw *hw, int index)
rxq->buf = kcalloc(MWL8K_RX_DESCS, sizeof(*rxq->buf), GFP_KERNEL);
if (rxq->buf == NULL) {
- wiphy_err(hw->wiphy, "failed to alloc RX skbuff list\n");
pci_free_consistent(priv->pdev, size, rxq->rxd, rxq->rxd_dma);
return -ENOMEM;
}
@@
-1442,7
+1441,6
@@
static int mwl8k_txq_init(struct ieee80211_hw *hw, int index)
txq->skb = kcalloc(MWL8K_TX_DESCS, sizeof(*txq->skb), GFP_KERNEL);
if (txq->skb == NULL) {
- wiphy_err(hw->wiphy, "failed to alloc TX skbuff list\n");
pci_free_consistent(priv->pdev, size, txq->txd, txq->txd_dma);
return -ENOMEM;
}