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:
kaf24@firebug.cl.cam.ac.uk committed 2006-04-06 09:34:30 +01:00
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;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.