lkml.org 
[lkml]   [2010]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2010-11-05 13:43    [W:0.030 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site