Messages in this thread | | | Date | Fri, 5 Nov 2010 15:08:32 +0300 | From | Evgeniy Polyakov <> | Subject | Re: [PATCH] pohmelfs: remove unneeded conditionals before calls to crypto_destroy_tfm wrappers. |
| |
Hi Jesper.
On Thu, Nov 04, 2010 at 10:27:42PM +0100, Jesper Juhl (jj@chaosbits.net) wrote: > crypto_free_hash() and crypto_free_ablkcipher() are just wrappers around > crypto_free_tfm() which is itself just a wrapper around > crypto_destroy_tfm(). > Passing crypto_destroy_tfm() a NULL pointer is valid, so there's no reason > to check for NULL first. > > Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Patch looks good, thank you. Greg please apply it to your tree, ack.
-- Evgeniy Polyakov
| |