mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Remove unused code in netback's net_rx_action():
new_mfn and old_mfn are set in the end half of the function but they are not used. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
This commit is contained in:
1 parent
fd7dd2c0ce
commit
96e1e63322
1 file changed
-3
@@ -301,9 +301,6 @@ static void net_rx_action(unsigned long unused)
|
||||
netif = netdev_priv(skb->dev);
|
||||
size = skb->tail - skb->data;
|
||||
|
||||
/* Rederive the machine addresses. */
|
||||
new_mfn = mcl->args[1] >> PAGE_SHIFT;
|
||||
old_mfn = gop->mfn;
|
||||
atomic_set(&(skb_shinfo(skb)->dataref), 1);
|
||||
skb_shinfo(skb)->nr_frags = 0;
|
||||
skb_shinfo(skb)->frag_list = NULL;
|
||||
|
||||