[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20101105120832.GA6503@ioremap.net>
Date: Fri, 5 Nov 2010 15:08:32 +0300
From: Evgeniy Polyakov <zbr@...emap.net>
To: Jesper Juhl <jj@...osbits.net>
Cc: linux-kernel@...r.kernel.org, Greg Kroah-Hartman <gregkh@...e.de>,
Ruslan Pisarev <ruslan@...sarev.org.ua>
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@...osbits.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@...osbits.net>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists