Revert "lpfc: Delete unnecessary checks before the function call mempool_destroy"
commitcc3db459b518bad266141947d903feb30e22fd6d
authorMartin K. Petersen <martin.petersen@oracle.com>
Tue, 10 May 2016 01:39:43 +0000 (9 21:39 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jun 2016 01:23:37 +0000 (7 18:23 -0700)
tree60d32344396d6d7a6a119d1057dffe16e423bccf
parent5933622cae3fcf3b5c008f99bcd2b0fdb1b3e2e6
Revert "lpfc: Delete unnecessary checks before the function call mempool_destroy"

commit d65c8fff867a6450c58ce31572e883148a445ddf upstream.

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

Reported-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <jejb@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/lpfc/lpfc_mem.c