commit | 89dd9ce784fb64e732676b7958a0278750304567 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Jun 05 14:02:58 2020 +0300 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Jun 09 21:57:27 2020 -0400 |
tree | df02209447aab7ed309af26a12bd11f91b3c52f9 | |
parent | 4919b33b63c8b69d8dcf2b867431d0e3b6dc6d28 [diff] |
scsi: cxlflash: Remove an unnecessary NULL check 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. Link: https://lore.kernel.org/r/20200605110258.GD978434@mwanda Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>