ia64/xen-unstable

changeset 15757:256160ff19b7

Remove unused max_dma_mfn variable.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Thu Aug 16 13:27:59 2007 +0100 (2007-08-16)
parents c98c707a07a8
children 778985f246a0 0edecad52917
files xen/common/page_alloc.c
line diff
     1.1 --- a/xen/common/page_alloc.c	Tue Aug 14 16:32:49 2007 +0100
     1.2 +++ b/xen/common/page_alloc.c	Thu Aug 16 13:27:59 2007 +0100
     1.3 @@ -54,21 +54,14 @@ boolean_param("bootscrub", opt_bootscrub
     1.4  /*
     1.5   * Bit width of the DMA heap.
     1.6   */
     1.7 -static unsigned int  dma_bitsize = CONFIG_DMA_BITSIZE;
     1.8 -static unsigned long max_dma_mfn = (1UL<<(CONFIG_DMA_BITSIZE-PAGE_SHIFT))-1;
     1.9 +static unsigned int dma_bitsize = CONFIG_DMA_BITSIZE;
    1.10  static void __init parse_dma_bits(char *s)
    1.11  {
    1.12      unsigned int v = simple_strtol(s, NULL, 0);
    1.13      if ( v >= (BITS_PER_LONG + PAGE_SHIFT) )
    1.14 -    {
    1.15          dma_bitsize = BITS_PER_LONG + PAGE_SHIFT;
    1.16 -        max_dma_mfn = ~0UL;
    1.17 -    }
    1.18      else if ( v > PAGE_SHIFT + 1 )
    1.19 -    {
    1.20          dma_bitsize = v;
    1.21 -        max_dma_mfn = (1UL << (dma_bitsize - PAGE_SHIFT)) - 1;
    1.22 -    }
    1.23      else
    1.24          printk("Invalid dma_bits value of %u ignored.\n", v);
    1.25  }