Re: [PATCH] cxlflash: remove an unnecessary NULL check

From: Martin K. Petersen
Date: Tue Jun 09 2020 - 22:03:16 EST


On Fri, 5 Jun 2020 14:02:58 +0300, Dan Carpenter wrote:

> The "cmd" pointer was already dereferenced a couple lines earlier so
> this NULL check is too late. Fortunately, the pointer can never be NULL
> and the check can be removed.

Applied to 5.8/scsi-queue, thanks!

[1/1] scsi: cxlflash: Remove an unnecessary NULL check
https://git.kernel.org/mkp/scsi/c/89dd9ce784fb

--
Martin K. Petersen Oracle Linux Engineering