virtio_net: Fix mis-merge.
authorDavid S. Miller <davem@davemloft.net>
Wed, 14 Apr 2010 13:45:44 +0000 (06:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Apr 2010 13:45:44 +0000 (06:45 -0700)
Pointed out by Stephen Rothwell.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c

index 73116512ca0562e19f28424c73f0b9b1dc4d96e2..b0a85d0387962b6ce2394637f9ae6dbbac5f6684 100644 (file)
@@ -329,7 +329,6 @@ static int add_recvbuf_small(struct virtnet_info *vi, gfp_t gfp)
        struct skb_vnet_hdr *hdr;
        int err;
 
-       sg_init_table(sg, 2);
        skb = netdev_alloc_skb_ip_align(vi->dev, MAX_PACKET_LEN);
        if (unlikely(!skb))
                return -ENOMEM;