cnic: remove redundant assignment to variable ret
The variable ret is being assigned with a value that is never read, the assignment is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
4d2c999408
commit
d8f05e9891
@ -1918,7 +1918,6 @@ static int cnic_bnx2x_iscsi_ofld1(struct cnic_dev *dev, struct kwqe *wqes[],
|
||||
ret = cnic_alloc_bnx2x_conn_resc(dev, l5_cid);
|
||||
if (ret) {
|
||||
atomic_dec(&cp->iscsi_conn);
|
||||
ret = 0;
|
||||
goto done;
|
||||
}
|
||||
ret = cnic_setup_bnx2x_ctx(dev, wqes, num);
|
||||
|
Loading…
x
Reference in New Issue
Block a user