direct-io.hg

changeset 10323:a936c9c3ea60

[LINUX] Clean up unused variable in mm/memory.c.
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
author kaf24@firebug.cl.cam.ac.uk
date Mon Jun 12 09:57:23 2006 +0100 (2006-06-12)
parents 8d5d225e9f34
children 92f071926e6e
files linux-2.6-xen-sparse/mm/memory.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/mm/memory.c	Mon Jun 12 09:45:03 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/mm/memory.c	Mon Jun 12 09:57:23 2006 +0100
     1.3 @@ -968,7 +968,6 @@ int get_user_pages(struct task_struct *t
     1.4  {
     1.5  	int i;
     1.6  	unsigned int vm_flags;
     1.7 -	int xenpage = 0;
     1.8  
     1.9  	/* 
    1.10  	 * Require read or write permissions.
    1.11 @@ -1026,7 +1025,6 @@ int get_user_pages(struct task_struct *t
    1.12  		if (vma && (vma->vm_flags & VM_FOREIGN)) {
    1.13  			struct page **map = vma->vm_private_data;
    1.14  			int offset = (start - vma->vm_start) >> PAGE_SHIFT;
    1.15 -			xenpage =1;
    1.16  			if (map[offset] != NULL) {
    1.17  			        if (pages) {
    1.18  			                struct page *page = map[offset];