ia64/xen-unstable

changeset 1881:51f8d2380c82

bitkeeper revision 1.1108.2.23 (41009ec4IUCzAdT9TYmLiFFkyZUHiw)

memory.c:
Cleanup
author kaf24@scramble.cl.cam.ac.uk
date Fri Jul 23 05:14:44 2004 +0000 (2004-07-23)
parents 020f58885ed4
children 381b2b637b12 a2d2b4ac2439 8cae910510d1 ca69dc4da1ff
files xen/common/memory.c
line diff
     1.1 --- a/xen/common/memory.c	Fri Jul 23 03:18:56 2004 +0000
     1.2 +++ b/xen/common/memory.c	Fri Jul 23 05:14:44 2004 +0000
     1.3 @@ -80,15 +80,13 @@ void __init init_frametable(void *framet
     1.4  
     1.5  void add_to_domain_alloc_list(unsigned long ps, unsigned long pe)
     1.6  {
     1.7 -    struct pfn_info *pf;
     1.8      unsigned long i;
     1.9      unsigned long flags;
    1.10  
    1.11      spin_lock_irqsave(&free_list_lock, flags);
    1.12      for ( i = ps >> PAGE_SHIFT; i < (pe >> PAGE_SHIFT); i++ )
    1.13      {
    1.14 -        pf = list_entry(&frame_table[i].list, struct pfn_info, list);
    1.15 -        list_add_tail(&pf->list, &free_list);
    1.16 +        list_add_tail(&frame_table[i].list, &free_list);
    1.17          free_pfns++;
    1.18      }
    1.19      spin_unlock_irqrestore(&free_list_lock, flags);