Files
linux-apfs/net/mac80211
Jesper Juhl ffa56e540c mac80211: Remove redundant checks for NULL before calls to crypto_free_cipher()
crypto_free_cipher() is a wrapper around crypto_free_tfm() which is a
wrapper around crypto_destroy_tfm() and the latter can handle being passed
a NULL pointer, so checking for NULL in the
ieee80211_aes_key_free()/ieee80211_aes_cmac_key_free() wrappers around
crypto_free_cipher() is pointless and just increase object code size
needlesly and makes us execute extra test/branch instructions that we
don't need.
Btw; don't we have to many wrappers around wrappers ad nauseam here?
Anyway, this patch removes the redundant conditionals.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-11-15 13:26:11 -05:00
..
2010-10-13 15:45:22 -04:00
2010-10-13 15:45:23 -04:00
2010-06-14 15:38:17 -04:00
2010-10-25 14:43:13 -04:00
2010-10-07 14:41:27 -04:00
2010-07-08 16:35:50 -04:00
2010-07-08 16:35:50 -04:00
2010-10-06 16:30:40 -04:00
2010-10-11 15:04:23 -04:00
2010-07-08 16:35:50 -04:00
2010-09-27 15:57:54 -04:00