ia64/xen-unstable

changeset 9602:ea12fbe91f39

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>
author kaf24@firebug.cl.cam.ac.uk
date Thu Apr 06 09:34:30 2006 +0100 (2006-04-06)
parents bbd1057d38f0
children 2a127b1f13b5
files linux-2.6-xen-sparse/drivers/xen/netback/netback.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/netback/netback.c	Thu Apr 06 09:32:55 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/netback/netback.c	Thu Apr 06 09:34:30 2006 +0100
     1.3 @@ -301,9 +301,6 @@ static void net_rx_action(unsigned long 
     1.4  		netif   = netdev_priv(skb->dev);
     1.5  		size    = skb->tail - skb->data;
     1.6  
     1.7 -		/* Rederive the machine addresses. */
     1.8 -		new_mfn = mcl->args[1] >> PAGE_SHIFT;
     1.9 -		old_mfn = gop->mfn;
    1.10  		atomic_set(&(skb_shinfo(skb)->dataref), 1);
    1.11  		skb_shinfo(skb)->nr_frags = 0;
    1.12  		skb_shinfo(skb)->frag_list = NULL;