[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [LINUX] Clean up unused variable in mm/memory.c.
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID a936c9c3ea60cc0ed8aa712c00a19d377cc76d0f # Parent 8d5d225e9f34cd0901422c0f2391547928bdd180 [LINUX] Clean up unused variable in mm/memory.c. Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx> --- linux-2.6-xen-sparse/mm/memory.c | 2 -- 1 files changed, 2 deletions(-) diff -r 8d5d225e9f34 -r a936c9c3ea60 linux-2.6-xen-sparse/mm/memory.c --- a/linux-2.6-xen-sparse/mm/memory.c Mon Jun 12 09:45:03 2006 +0100 +++ b/linux-2.6-xen-sparse/mm/memory.c Mon Jun 12 09:57:23 2006 +0100 @@ -968,7 +968,6 @@ int get_user_pages(struct task_struct *t { int i; unsigned int vm_flags; - int xenpage = 0; /* * Require read or write permissions. @@ -1026,7 +1025,6 @@ int get_user_pages(struct task_struct *t if (vma && (vma->vm_flags & VM_FOREIGN)) { struct page **map = vma->vm_private_data; int offset = (start - vma->vm_start) >> PAGE_SHIFT; - xenpage =1; if (map[offset] != NULL) { if (pages) { struct page *page = map[offset]; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |