Re: [PATCH] scsi: aic7xxx: Remove unnecessary NULL checks before kfree

Martin K. Petersen
2020-04-24T16:49:53Z

Alex,

> There are a number of places in the aic7xxx driver where a NULL check
> is performed before a kfree(). However, kfree() already performs NULL
> checks so this is unnecessary. Remove the checks.
>
> Issue identified with Coccinelle.

Applied to 5.8/scsi-queue, thanks!

--
Martin K. Petersen Oracle Linux Engineering