diff options
-rw-r--r-- | drivers/scsi/lpfc/lpfc_mem.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_mem.c b/drivers/scsi/lpfc/lpfc_mem.c index ade763d3930a..cd86069a0ba8 100644 --- a/drivers/scsi/lpfc/lpfc_mem.c +++ b/drivers/scsi/lpfc/lpfc_mem.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /******************************************************************* | 1 | /******************************************************************* |
2 | * This file is part of the Emulex Linux Device Driver for * | 2 | * This file is part of the Emulex Linux Device Driver for * |
3 | * Fibre Channel Host Bus Adapters. * | 3 | * Fibre Channel Host Bus Adapters. * |
4 | * Copyright (C) 2004-2009 Emulex. All rights reserved. * | 4 | * Copyright (C) 2004-2012 Emulex. All rights reserved. * |
5 | * EMULEX and SLI are trademarks of Emulex. * | 5 | * EMULEX and SLI are trademarks of Emulex. * |
6 | * www.emulex.com * | 6 | * www.emulex.com * |
7 | * Portions Copyright (C) 2004-2005 Christoph Hellwig * | 7 | * Portions Copyright (C) 2004-2005 Christoph Hellwig * |
@@ -194,6 +194,10 @@ lpfc_mem_free(struct lpfc_hba *phba) | |||
194 | pci_pool_destroy(phba->lpfc_hbq_pool); | 194 | pci_pool_destroy(phba->lpfc_hbq_pool); |
195 | phba->lpfc_hbq_pool = NULL; | 195 | phba->lpfc_hbq_pool = NULL; |
196 | 196 | ||
197 | if (phba->rrq_pool) | ||
198 | mempool_destroy(phba->rrq_pool); | ||
199 | phba->rrq_pool = NULL; | ||
200 | |||
197 | /* Free NLP memory pool */ | 201 | /* Free NLP memory pool */ |
198 | mempool_destroy(phba->nlp_mem_pool); | 202 | mempool_destroy(phba->nlp_mem_pool); |
199 | phba->nlp_mem_pool = NULL; | 203 | phba->nlp_mem_pool = NULL; |