projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37fa429
)
scsi: qedf: Remove redundant assignment to variable 'rc'
author
Jing Xiangfeng
<jingxiangfeng@huawei.com>
Thu, 17 Sep 2020 02:19:06 +0000
(10:19 +0800)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Sat, 3 Oct 2020 02:07:02 +0000
(22:07 -0400)
This assignment is meaningless. Remove it.
Link:
https://lore.kernel.org/r/20200917021906.175933-1-jingxiangfeng@huawei.com
Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qedf/qedf_io.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qedf/qedf_io.c
b/drivers/scsi/qedf/qedf_io.c
index 86c8afb9a4ebd8e432c4f1d5645cdddc7b349990..4869ef813dc4ff8cdbde6d5a347248c7a178874c 100644
(file)
--- a/
drivers/scsi/qedf/qedf_io.c
+++ b/
drivers/scsi/qedf/qedf_io.c
@@
-2163,7
+2163,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;
}