zfcp: remove unnecessary null pointer check before mempool_destroy
Hannes Reinecke
Reviewed-byQuoted 5 lines · Steffen Maier
From: zhong jiang <[email protected]>
mempool_destroyhas taken null pointer check into account. so remove the redundant check.
Quoted 8 lines
Signed-off-by zhong jiang <[email protected]>Acked-by Benjamin Block <[email protected]>[[email protected]: depends on v4.3 4e3ca3e033d1 ("mm/mempool: allow NULL `pool' pointer in mempool_destroy()")]Signed-off-by Steffen Maier <[email protected]>--- drivers/s390/scsi/zfcp_aux.c | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-)
Reviewed-by Hannes Reinecke <[email protected]>
Cheers,
Hannes
Signature · 5 lines
Dr. Hannes Reinecke Teamlead Storage & Networking [email protected] +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N�rnberg GF: F. Imend�rffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG N�rnberg)