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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jun 2016 01:18:49 +0000 (18:18 -0700)
commit3c70550d8a10e600bf02c7bdb5c46ba782548288
treedcad090dc484885c8897e53761a013d3b17a0e8e
parent85e29271c3a3942f6e7e453c8dae22c6210b8f03
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