Skip to content
Commit b6876a84 authored by Chengguang Xu's avatar Chengguang Xu Committed by Martin K. Petersen
Browse files

scsi: libfc: remove unnecessary condition check



kmem_cache_destroy() can handle NULL pointer correctly, so there is no
need to check NULL pointer before calling kmem_cache_destroy()

Signed-off-by: default avatarChengguang Xu <cgxu519@gmx.com>
Acked-by: default avatarJohannes Thumshirn <jth@kernel.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 26c724a6
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