aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/iscsi/cxgbit/cxgbit_cm.c
diff options
context:
space:
mode:
authorVarun Prakash <varun@chelsio.com>2020-07-01 22:17:12 +0530
committerMartin K. Petersen <martin.petersen@oracle.com>2020-07-08 01:48:24 -0400
commitb53293fa662e28ae0cdd40828dc641c09f133405 (patch)
treeead77ec44aa9a8ef365c27ddf129c09f6cb67077 /drivers/target/iscsi/cxgbit/cxgbit_cm.c
parentscsi: target: cxgbit: Check connection state before issuing hardware command (diff)
downloadlinux-dev-b53293fa662e28ae0cdd40828dc641c09f133405.tar.xz
linux-dev-b53293fa662e28ae0cdd40828dc641c09f133405.zip
scsi: target: cxgbit: Remove tx flow control code
Firmware does tx flow control so remove tx flow control code from the driver. Signed-off-by: Varun Prakash <varun@chelsio.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target/iscsi/cxgbit/cxgbit_cm.c')
-rw-r--r--drivers/target/iscsi/cxgbit/cxgbit_cm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/target/iscsi/cxgbit/cxgbit_cm.c b/drivers/target/iscsi/cxgbit/cxgbit_cm.c
index 493070cedbc7..518ded214e74 100644
--- a/drivers/target/iscsi/cxgbit/cxgbit_cm.c
+++ b/drivers/target/iscsi/cxgbit/cxgbit_cm.c
@@ -1360,7 +1360,6 @@ cxgbit_pass_accept_req(struct cxgbit_device *cdev, struct sk_buff *skb)
cxgbit_sock_reset_wr_list(csk);
spin_lock_init(&csk->lock);
init_waitqueue_head(&csk->waitq);
- init_waitqueue_head(&csk->ack_waitq);
csk->lock_owner = false;
if (cxgbit_alloc_csk_skb(csk)) {
@@ -1887,7 +1886,6 @@ static void cxgbit_fw4_ack(struct cxgbit_sock *csk, struct sk_buff *skb)
if (csk->snd_una != snd_una) {
csk->snd_una = snd_una;
dst_confirm(csk->dst);
- wake_up(&csk->ack_waitq);
}
}