OSDN Git Service

net: vhost: remove bad code line
authorTonghao Zhang <xiangxia.m.yue@gmail.com>
Mon, 8 Oct 2018 01:41:50 +0000 (18:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Oct 2018 04:31:32 +0000 (21:31 -0700)
Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/vhost/net.c

index 015abf3..ab11b2b 100644 (file)
@@ -562,7 +562,6 @@ static int vhost_net_tx_get_vq_desc(struct vhost_net *net,
        if (r == tvq->num && tvq->busyloop_timeout) {
                /* Flush batched packets first */
                if (!vhost_sock_zcopy(tvq->private_data))
-                       // vhost_net_signal_used(tnvq);
                        vhost_tx_batch(net, tnvq, tvq->private_data, msghdr);
 
                vhost_net_busy_poll(net, rvq, tvq, busyloop_intr, false);