Commit abf1a08f authored by Tonghao Zhang's avatar Tonghao Zhang Committed by David S. Miller

net: vhost: remove bad code line

Signed-off-by: default avatarTonghao Zhang <xiangxia.m.yue@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ac4a02c5
...@@ -562,7 +562,6 @@ static int vhost_net_tx_get_vq_desc(struct vhost_net *net, ...@@ -562,7 +562,6 @@ static int vhost_net_tx_get_vq_desc(struct vhost_net *net,
if (r == tvq->num && tvq->busyloop_timeout) { if (r == tvq->num && tvq->busyloop_timeout) {
/* Flush batched packets first */ /* Flush batched packets first */
if (!vhost_sock_zcopy(tvq->private_data)) if (!vhost_sock_zcopy(tvq->private_data))
// vhost_net_signal_used(tnvq);
vhost_tx_batch(net, tnvq, tvq->private_data, msghdr); vhost_tx_batch(net, tnvq, tvq->private_data, msghdr);
vhost_net_busy_poll(net, rvq, tvq, busyloop_intr, false); vhost_net_busy_poll(net, rvq, tvq, busyloop_intr, false);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment