Re: [PATCH] scsi: qedf: remove redundant assignment to variable 'rc'
On Thu, 17 Sep 2020 10:19:06 +0800, Jing Xiangfeng wrote: > This assignment is meaningless, so remove it. Applied to 5.10/scsi-queue, thanks! [1/1] scsi: qedf: Remove redundant assignment to variable 'rc' https://git.kernel.org/mkp/scsi/c/da7d5d72ae83 -- Martin K. Petersen Oracle Linux Engineering
Re: [PATCH] scsi: qedf: remove redundant assignment to variable 'rc'
Jing, > This assignment is meaningless, so remove it. Applied to 5.10/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering
[PATCH] scsi: qedf: remove redundant assignment to variable 'rc'
This assignment is meaningless, so remove it. Signed-off-by: Jing Xiangfeng --- drivers/scsi/qedf/qedf_io.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/qedf/qedf_io.c b/drivers/scsi/qedf/qedf_io.c index acd9774a9387..c04078283121 100644 --- a/drivers/scsi/qedf/qedf_io.c +++ b/drivers/scsi/qedf/qedf_io.c @@ -2159,7 +2159,6 @@ int qedf_initiate_cleanup(struct qedf_ioreq *io_req, /* Sanity check qedf_rport before dereferencing any pointers */ if (!test_bit(QEDF_RPORT_SESSION_READY, >flags)) { QEDF_ERR(NULL, "tgt not offloaded\n"); - rc = 1; return SUCCESS; } -- 2.17.1