scsi: lpfc: Fix NULL check before mempool_destroy is not needed
authorSaurav Girepunje <saurav.girepunje@gmail.com>
Sat, 26 Oct 2019 19:47:17 +0000 (01:17 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 29 Oct 2019 01:52:38 +0000 (21:52 -0400)
commitc3e5aac3e2f501ad4fcb03fed0e32a6f009faea2
treedb5683e98555a8a4d6193a9514dfd1140130b103
parent5792a0e81678da41f05bb724ebd20f134604fa15
scsi: lpfc: Fix NULL check before mempool_destroy is not needed

mempool_destroy has taken null pointer check into account. Remove the
redundant check.

Link: https://lore.kernel.org/r/20191026194712.GA22249@saurav
Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
Reviewed-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_init.c