Messages in this thread | | | Subject | Re: [PATCH -next] scsi: aic94xx: Remove unnecessary null check | From | "Martin K. Petersen" <> | Date | Tue, 30 Jul 2019 12:13:40 -0400 |
| |
YueHaibing,
> kmem_cache_destroy() can handle NULL pointer correctly, so there is > no need to check NULL pointer before calling kmem_cache_destroy().
Applied to 5.4/scsi-queue. Thanks!
-- Martin K. Petersen Oracle Linux Engineering
| |