scsi: lpfc: Remove unneeded variable 'status' in lpfc_fcp_cpu_map_store()
authorYe Bin <yebin10@huawei.com>
Wed, 16 Sep 2020 02:28:59 +0000 (10:28 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 3 Oct 2020 02:04:59 +0000 (22:04 -0400)
commit37fa429ef7bad44e5b8dd9fb0b52731b76a3fa99
tree08c3552a6ba72c264c68f108f89e21baea9ef383
parent936dc95d09d8f662c63cd82790c94f38ef49e9df
scsi: lpfc: Remove unneeded variable 'status' in lpfc_fcp_cpu_map_store()

Fixes coccicheck warning:
drivers/scsi/lpfc/lpfc_attr.c:5341:5-11: Unneeded variable: "status". Return "- EINVAL" on line 5342

Link: https://lore.kernel.org/r/20200916022859.349089-1-yebin10@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Ye Bin <yebin10@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_attr.c