diff options
author | Wei Liu <wei.liu2@citrix.com> | 2013-03-25 01:08:20 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-25 12:19:47 -0400 |
commit | 27f852282ab9a028f57da96d05c26f38c424a315 (patch) | |
tree | 8f85cce88d6d19f40c523e83bc776aca5af9ce36 /drivers/net/xen-netback | |
parent | 7158ff6d0c6aa3724fb51c6c11143d31e166eb1f (diff) | |
download | talos-obmc-linux-27f852282ab9a028f57da96d05c26f38c424a315.tar.gz talos-obmc-linux-27f852282ab9a028f57da96d05c26f38c424a315.zip |
xen-netback: remove skb in xen_netbk_alloc_page
This variable is never used.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netback')
-rw-r--r-- | drivers/net/xen-netback/netback.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/xen-netback/netback.c b/drivers/net/xen-netback/netback.c index cd49ba949636..aa28550fc9b6 100644 --- a/drivers/net/xen-netback/netback.c +++ b/drivers/net/xen-netback/netback.c @@ -942,7 +942,6 @@ static int netbk_count_requests(struct xenvif *vif, } static struct page *xen_netbk_alloc_page(struct xen_netbk *netbk, - struct sk_buff *skb, u16 pending_idx) { struct page *page; @@ -976,7 +975,7 @@ static struct gnttab_copy *xen_netbk_get_requests(struct xen_netbk *netbk, index = pending_index(netbk->pending_cons++); pending_idx = netbk->pending_ring[index]; - page = xen_netbk_alloc_page(netbk, skb, pending_idx); + page = xen_netbk_alloc_page(netbk, pending_idx); if (!page) goto err; @@ -1381,7 +1380,7 @@ static unsigned xen_netbk_tx_build_gops(struct xen_netbk *netbk) } /* XXX could copy straight to head */ - page = xen_netbk_alloc_page(netbk, skb, pending_idx); + page = xen_netbk_alloc_page(netbk, pending_idx); if (!page) { kfree_skb(skb); netbk_tx_err(vif, &txreq, idx); |