Remove NULL ptr check before kfree.
commiteafe89f556ef1fe1b07ab8c1b4ce453ca1da1e41
authorJames Smart <jsmart2021@gmail.com>
Fri, 21 Apr 2017 23:04:52 +0000 (21 16:04 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 24 Apr 2017 07:25:48 +0000 (24 09:25 +0200)
treec7b3b5758bda1b5727d222089277acdd6009f732
parent06909bb91f6477db3dd40d5c5fe0364cd114a918
Remove NULL ptr check before kfree.

The check for NULL ptr is not necessary, kfree will check it.

Removing NULL ptr check.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
drivers/scsi/lpfc/lpfc_debugfs.c