From: David S. Miller Date: Wed, 14 Apr 2010 13:45:44 +0000 (-0700) Subject: virtio_net: Fix mis-merge. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b4bf665c5761837f693e87ab27870a5868185ccc;p=linux-beck.git virtio_net: Fix mis-merge. Pointed out by Stephen Rothwell. Signed-off-by: David S. Miller --- diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 73116512ca05..b0a85d038796 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c @@ -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;