* [PATCH] scsi: qedf: remove redundant assignment to variable 'rc'
@ 2020-09-17 2:19 Jing Xiangfeng
2020-10-03 2:07 ` Martin K. Petersen
2020-10-07 3:47 ` Martin K. Petersen
0 siblings, 2 replies; 3+ messages in thread
From: Jing Xiangfeng @ 2020-09-17 2:19 UTC (permalink / raw)
To: QLogic-Storage-Upstream, jejb, martin.petersen, skashyap
Cc: linux-scsi, linux-kernel, jingxiangfeng
This assignment is meaningless, so remove it.
Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
---
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, &fcport->flags)) {
QEDF_ERR(NULL, "tgt not offloaded\n");
- rc = 1;
return SUCCESS;
}
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] scsi: qedf: remove redundant assignment to variable 'rc'
2020-09-17 2:19 [PATCH] scsi: qedf: remove redundant assignment to variable 'rc' Jing Xiangfeng
@ 2020-10-03 2:07 ` Martin K. Petersen
2020-10-07 3:47 ` Martin K. Petersen
1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2020-10-03 2:07 UTC (permalink / raw)
To: Jing Xiangfeng
Cc: QLogic-Storage-Upstream, jejb, martin.petersen, skashyap,
linux-scsi, linux-kernel
Jing,
> This assignment is meaningless, so remove it.
Applied to 5.10/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] scsi: qedf: remove redundant assignment to variable 'rc'
2020-09-17 2:19 [PATCH] scsi: qedf: remove redundant assignment to variable 'rc' Jing Xiangfeng
2020-10-03 2:07 ` Martin K. Petersen
@ 2020-10-07 3:47 ` Martin K. Petersen
1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2020-10-07 3:47 UTC (permalink / raw)
To: Jing Xiangfeng, skashyap, jejb, QLogic-Storage-Upstream
Cc: Martin K . Petersen, linux-kernel, linux-scsi
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-10-07 3:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-17 2:19 [PATCH] scsi: qedf: remove redundant assignment to variable 'rc' Jing Xiangfeng
2020-10-03 2:07 ` Martin K. Petersen
2020-10-07 3:47 ` Martin K. Petersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).