public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Remove unused variable 'start'.
@ 2007-07-21 18:26 Charlie Shepherd
  2007-07-21 18:26 ` [PATCH] Remove 'isdn_* is defined but unused' warnings Charlie Shepherd
  2007-07-22  6:04 ` [PATCH] Remove unused variable 'start' Andrew Morton
  0 siblings, 2 replies; 3+ messages in thread
From: Charlie Shepherd @ 2007-07-21 18:26 UTC (permalink / raw)
  To: linux-kernel, trivial, torvalds; +Cc: Charlie Shepherd

Signed-off-by: Charlie Shepherd <masterdriverz@gentoo.org>
---
 mm/vmalloc.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index 3cee76a..5e7daea 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -72,7 +72,6 @@ void unmap_kernel_range(unsigned long addr, unsigned long size)
 {
 	pgd_t *pgd;
 	unsigned long next;
-	unsigned long start = addr;
 	unsigned long end = addr + size;
 
 	BUG_ON(addr >= end);
@@ -84,7 +83,7 @@ void unmap_kernel_range(unsigned long addr, unsigned long size)
 			continue;
 		vunmap_pud_range(pgd, addr, next);
 	} while (pgd++, addr = next, addr != end);
-	flush_tlb_kernel_range(start, end);
+	flush_tlb_kernel_range(addr, end);
 }
 
 static void unmap_vm_area(struct vm_struct *area)
-- 
1.5.2.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-22  6:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-21 18:26 [PATCH] Remove unused variable 'start' Charlie Shepherd
2007-07-21 18:26 ` [PATCH] Remove 'isdn_* is defined but unused' warnings Charlie Shepherd
2007-07-22  6:04 ` [PATCH] Remove unused variable 'start' Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox