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

From: Markus Elfring
Date: Sat Apr 04 2020 - 05:03:02 EST


> 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.

I suggest to reconsider the distribution of recipients also for this patch
according to the fields âCcâ and âToâ.


Do you find a previous update suggestion like âSCSI-aic7...: Delete unnecessary
checks before the function call "kfree"â interesting?
https://lore.kernel.org/linux-scsi/54D3E057.9030600@xxxxxxxxxxxxxxxxxxxxx/
https://lore.kernel.org/patchwork/patch/540593/
https://lkml.org/lkml/2015/2/5/650

Regards,
Markus