]> www.infradead.org Git - users/jedix/linux-maple.git/commit
lpfc: Remove NULL ptr check before kfree.
authorJames Smart <james.smart@broadcom.com>
Wed, 12 Jul 2017 22:33:40 +0000 (18:33 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 14 Jul 2017 00:12:39 +0000 (17:12 -0700)
commit0e1f6d30a28543cd4a2508c7c7c3dff7cdee6043
tree98fde9a01edf28bac546a1b5769250da89d1aea0
parentbdd83398ad4ce070ee390ed7fc103e7b913f7e90
lpfc: Remove NULL ptr check before kfree.

[backport of 600b57091effbdb680c067332c92de2a21c5d79d]
From: rkennedy <dick.kennedy@avagotech.com>

Orabug: 26439257

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>
This patch was applied manually.

Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/scsi/lpfc/lpfc_debugfs.c