Patchwork powerpc/mm: Fix compile warning

login
register
mail settings
Submitter Kumar Gala
Date April 8, 2009, 3:11 a.m.
Message ID <1239160295-14314-1-git-send-email-galak@kernel.crashing.org>
Download mbox | patch
Permalink /patch/25702/
State Accepted
Commit 52ce67f157f8c5623524dc6c5b2ddd6a0d2aa774
Delegated to: Kumar Gala
Headers show

Comments

Kumar Gala - April 8, 2009, 3:11 a.m.
arch/powerpc/mm/tlb_nohash.c: In function 'flush_tlb_mm':
arch/powerpc/mm/tlb_nohash.c:128: warning: unused variable 'cpu_mask'

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 arch/powerpc/mm/tlb_nohash.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Patch

diff --git a/arch/powerpc/mm/tlb_nohash.c b/arch/powerpc/mm/tlb_nohash.c
index 7af7297..ad2eb4d 100644
--- a/arch/powerpc/mm/tlb_nohash.c
+++ b/arch/powerpc/mm/tlb_nohash.c
@@ -125,7 +125,6 @@  static void do_flush_tlb_page_ipi(void *param)
 
 void flush_tlb_mm(struct mm_struct *mm)
 {
-	cpumask_t cpu_mask;
 	unsigned int pid;
 
 	preempt_disable();