summaryrefslogtreecommitdiff
path: root/net/wireless/lib80211_crypt_wep.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-08-30 01:17:41 +0400
committerJohn W. Linville <linville@tuxdriver.com>2011-09-13 23:45:02 +0400
commit24616152b1d184864370c5ea21f8fdbd5a90d58d (patch)
tree58f21a71a8d02c25d56f96a4b47a251aaeae796a /net/wireless/lib80211_crypt_wep.c
parent246c0812049f92109ab9771e34480a2ce816f005 (diff)
downloadlinux-24616152b1d184864370c5ea21f8fdbd5a90d58d.tar.xz
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/lib80211_crypt_wep.c')
-rw-r--r--net/wireless/lib80211_crypt_wep.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/wireless/lib80211_crypt_wep.c b/net/wireless/lib80211_crypt_wep.c
index 2f265e033ae2..c1304018fc1c 100644
--- a/net/wireless/lib80211_crypt_wep.c
+++ b/net/wireless/lib80211_crypt_wep.c
@@ -50,16 +50,12 @@ static void *lib80211_wep_init(int keyidx)
priv->tx_tfm = crypto_alloc_blkcipher("ecb(arc4)", 0, CRYPTO_ALG_ASYNC);
if (IS_ERR(priv->tx_tfm)) {
- printk(KERN_DEBUG "lib80211_crypt_wep: could not allocate "
- "crypto API arc4\n");
priv->tx_tfm = NULL;
goto fail;
}
priv->rx_tfm = crypto_alloc_blkcipher("ecb(arc4)", 0, CRYPTO_ALG_ASYNC);
if (IS_ERR(priv->rx_tfm)) {
- printk(KERN_DEBUG "lib80211_crypt_wep: could not allocate "
- "crypto API arc4\n");
priv->rx_tfm = NULL;
goto fail;
}