ia64/xen-unstable

changeset 7574:e212c0b60fbe

Move misplaced netif_free declaration.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Sun Oct 30 17:17:21 2005 +0100 (2005-10-30)
parents f3ebb4d6baab
children c774efa2aca8
files linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c	Sun Oct 30 16:44:47 2005 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c	Sun Oct 30 17:17:21 2005 +0100
     1.3 @@ -91,8 +91,6 @@
     1.4  static void network_tx_buf_gc(struct net_device *dev);
     1.5  static void network_alloc_rx_buffers(struct net_device *dev);
     1.6  
     1.7 -static void netif_free(struct netfront_info *info);
     1.8 -
     1.9  static unsigned long rx_pfn_array[NETIF_RX_RING_SIZE];
    1.10  static multicall_entry_t rx_mcl[NETIF_RX_RING_SIZE+1];
    1.11  static mmu_update_t rx_mmu[NETIF_RX_RING_SIZE];
    1.12 @@ -192,6 +190,8 @@ static char *be_state_name[] = {
    1.13  #define WPRINTK(fmt, args...) \
    1.14  	printk(KERN_WARNING "xen_net: " fmt, ##args)
    1.15  
    1.16 +static void netif_free(struct netfront_info *info);
    1.17 +
    1.18  /** Send a packet on a net device to encourage switches to learn the
    1.19   * MAC. We send a fake ARP request.
    1.20   *