diff options
author | Andi Kleen <andi@firstfloor.org> | 2010-08-09 20:19:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-09 23:44:58 -0400 |
commit | 4e60c86bd9e5a7110ed28874d0b6592186550ae8 (patch) | |
tree | 9fb60e9f49b44b293a0c0c7d9f40e1a354a22b5a /mm/memory.c | |
parent | 627295e492638936e76f3d8fcb1e0a3367b88341 (diff) |
gcc-4.6: mm: fix unused but set warnings
No real bugs, just some dead code and some fixups.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memory.c')
-rw-r--r-- | mm/memory.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/memory.c b/mm/memory.c index bde42c6d3633..6b0c37dcfd16 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
@@ -307,7 +307,6 @@ void free_pgd_range(struct mmu_gather *tlb, | |||
307 | { | 307 | { |
308 | pgd_t *pgd; | 308 | pgd_t *pgd; |
309 | unsigned long next; | 309 | unsigned long next; |
310 | unsigned long start; | ||
311 | 310 | ||
312 | /* | 311 | /* |
313 | * The next few lines have given us lots of grief... | 312 | * The next few lines have given us lots of grief... |
@@ -351,7 +350,6 @@ void free_pgd_range(struct mmu_gather *tlb, | |||
351 | if (addr > end - 1) | 350 | if (addr > end - 1) |
352 | return; | 351 | return; |
353 | 352 | ||
354 | start = addr; | ||
355 | pgd = pgd_offset(tlb->mm, addr); | 353 | pgd = pgd_offset(tlb->mm, addr); |
356 | do { | 354 | do { |
357 | next = pgd_addr_end(addr, end); | 355 | next = pgd_addr_end(addr, end); |