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:
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.
Signed-off-by: Dan Carpenter
---
drivers/scsi/cxlflash/main.c | 3 ---
1 file changed, 3 deletions(-)
diff --git
2 matches
Mail list logo