Revert "lpfc: Delete unnecessary checks before the function call mempool_destroy"
authorMartin K. Petersen <martin.petersen@oracle.com>
Tue, 10 May 2016 01:39:43 +0000 (21:39 -0400)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 11 May 2016 20:02:43 +0000 (13:02 -0700)
commitd65c8fff867a6450c58ce31572e883148a445ddf
tree34dc1ab6b5a3e5072fea59bfb20d46b05c17603a
parent2bcbc81421c511ef117cadcf0bee9c4340e68db0
Revert "lpfc: Delete unnecessary checks before the function call mempool_destroy"

This reverts commit 9be321819c43417432a8376428b90fe3fe3a3510 which
caused a regression on hardware using the SLI3 interface.

Reported-by: Dick Kennedy <dick.kennedy@broadcom.com>
Cc: <stable@vger.kernel.org> # 4.6+
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <jejb@linux.vnet.ibm.com>
drivers/scsi/lpfc/lpfc_mem.c