Re: [PATCH] scsi: mpt3sas: remove NULL check before freeing function

From: Martin K. Petersen
Date: Mon Apr 27 2020 - 16:23:43 EST


On Sat, 18 Apr 2020 17:58:50 +0800, Jason Yan wrote:

> Fix the following coccicheck warning:
>
> drivers/scsi/mpt3sas/mpt3sas_base.c:4906:3-19: WARNING: NULL check
> before some freeing functions is not needed.

Applied to 5.8/scsi-queue, thanks!

[1/1] scsi: mpt3sas: Remove NULL check before freeing function
https://git.kernel.org/mkp/scsi/c/baf3fbf26cc0

--
Martin K. Petersen Oracle Linux Engineering