]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/mac80211/aes_cmac.c
Merge tag 'v2.6.38' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[mv-sheeva.git] / net / mac80211 / aes_cmac.c
index b4d66cca76d6d719324cee76d2706881df69e4a0..d502b2684a664e317fcba3d629d463fef562b9aa 100644 (file)
@@ -128,6 +128,5 @@ struct crypto_cipher * ieee80211_aes_cmac_key_setup(const u8 key[])
 
 void ieee80211_aes_cmac_key_free(struct crypto_cipher *tfm)
 {
-       if (tfm)
-               crypto_free_cipher(tfm);
+       crypto_free_cipher(tfm);
 }