Re: [PATCH] pohmelfs: remove unneeded conditionals before calls to crypto_destroy_tfm wrappers.

From: Evgeniy Polyakov
Date: Fri Nov 05 2010 - 08:40:12 EST


Hi Jesper.

On Thu, Nov 04, 2010 at 10:27:42PM +0100, Jesper Juhl (jj@xxxxxxxxxxxxx) 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@xxxxxxxxxxxxx>

Patch looks good, thank you.
Greg please apply it to your tree, ack.

--
Evgeniy Polyakov
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/