Re: [PATCH] scsi: aic7xxx: Remove unnecessary NULL checks before kfree
From: Martin K. Petersen
Date: Fri Apr 24 2020 - 12:49:53 EST
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