commit | b03f3c3e527a7da50f12ddb2021cb28ed99e46f7 | [log] [tgz] |
---|---|---|
author | Chengguang Xu <cgxu519@gmx.com> | Sun Nov 04 21:57:50 2018 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Nov 06 21:20:18 2018 -0500 |
tree | cb3d9472aeb551dbb766f3a11c4624209137ef6a | |
parent | 08cf8ab3c9e6f392f8d051fa0b574bc173d96a5d [diff] |
scsi: qla4xxx: remvoe unnecessary condition check for mempool_destroy() mempool_destroy() can handle NULL pointer correctly, so there is no need to check NULL pointer before calling mempool_destroy(). Signed-off-by: Chengguang Xu <cgxu519@gmx.com> Acked-by: Manish Rangankar <Manish.Rangankar@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>