Skip to content

Commit

Permalink
scsi: qedf: Remove redundant assignment to variable 'rc'
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jing Xiangfeng authored and Martin K. Petersen committed Oct 3, 2020
1 parent 37fa429 commit da7d5d7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/scsi/qedf/qedf_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit da7d5d7

Please sign in to comment.