scsi: aic94xx: Remove unnecessary null check
authorYueHaibing <yuehaibing@huawei.com>
Thu, 11 Jul 2019 14:15:39 +0000 (22:15 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 30 Jul 2019 16:12:59 +0000 (12:12 -0400)
commitb217598890a26fe49c83f4f3124c343a6d990eb2
treea621cc94a83b7d9feb7d8a2f39f6b965273b4c16
parent0b3b6fe299c471e44ed8713b7a602882626e693f
scsi: aic94xx: Remove unnecessary null 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: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aic94xx/aic94xx_init.c