]> git.baikalelectronics.ru Git - kernel.git/commit
Remove NULL ptr check before kfree.
authorJames Smart <jsmart2021@gmail.com>
Fri, 21 Apr 2017 23:04:52 +0000 (16:04 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 24 Apr 2017 07:25:48 +0000 (09:25 +0200)
commitc568e6c34c2f96696dbe8bd7a7bc2b86b0ceb4aa
treec7b3b5758bda1b5727d222089277acdd6009f732
parenta802cc448e5c7539937faa1f7f64f3b36ae2256b
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