Skip to content
Commit 6be55227 authored by zhong jiang's avatar zhong jiang Committed by Martin K. Petersen
Browse files

scsi: zfcp: remove unnecessary null pointer check before mempool_destroy



mempool_destroy has taken null pointer check into account. so remove the
redundant check.

Signed-off-by: default avatarzhong jiang <zhongjiang@huawei.com>
Acked-by: default avatarBenjamin Block <bblock@linux.ibm.com>
[maier@linux.ibm.com: depends on v4.3 4e3ca3e0 ("mm/mempool: allow NULL `pool' pointer in mempool_destroy()")]
Signed-off-by: default avatarSteffen Maier <maier@linux.ibm.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 200858bb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment