Re: [PATCH-v1 08/22] Remove NULL ptr check before kfree.

2017-04-20 Thread Johannes Thumshirn
On Wed, Apr 19, 2017 at 09:46:27PM -0700, jsmart2...@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 -- Joh

[PATCH-v1 08/22] Remove NULL ptr check before kfree.

2017-04-19 Thread jsmart2021
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 --- drivers/scsi/lpfc/lpfc_debugfs.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/scsi/l