From mboxrd@z Thu Jan 1 00:00:00 1970 From: jthumshirn@suse.de (Johannes Thumshirn) Date: Thu, 20 Apr 2017 09:34:58 +0200 Subject: [PATCH-v1 08/22] Remove NULL ptr check before kfree. In-Reply-To: <20170420044641.10657-9-jsmart2021@gmail.com> References: <20170420044641.10657-1-jsmart2021@gmail.com> <20170420044641.10657-9-jsmart2021@gmail.com> Message-ID: <20170420073458.GI6217@linux-x5ow.site> On Wed, Apr 19, 2017@09:46:27PM -0700, jsmart2021@gmail.com wrote: > From: James Smart > > The check for NULL ptr is not necessary, kfree will check it. > > Removing NULL ptr check. > > Signed-off-by: Dick Kennedy > Signed-off-by: James Smart > --- Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumshirn at suse.de +49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N?rnberg GF: Felix Imend?rffer, Jane Smithard, Graham Norton HRB 21284 (AG N?rnberg) Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850