[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180928050958.gpbgh7r2canffij6@gondor.apana.org.au>
Date: Fri, 28 Sep 2018 13:09:58 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: zhong jiang <zhongjiang@...wei.com>
Cc: davem@...emloft.net, george.cherian@...ium.com,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: cavium: remove redundant null pointer check
before kfree
On Fri, Sep 21, 2018 at 09:30:15PM +0800, zhong jiang wrote:
> kfree has taken the null pointer into account. hence it is safe
> to remove the redundant null pointer check before kfree.
>
> Signed-off-by: zhong jiang <zhongjiang@...wei.com>
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists