diff options
author | Shaokun Zhang <zhangshaokun@hisilicon.com> | 2019-01-29 10:36:57 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2019-01-29 20:32:30 +0300 |
commit | 691b9ab6c9676e5868a4787be9041dd990005311 (patch) | |
tree | e0e9a147c9cf3dcf5cbb52a557e33ed4fb11cf4a /arch/x86/mm | |
parent | 2b0fc3742bc77687f58d389c902ee092df6f8669 (diff) | |
download | linux-691b9ab6c9676e5868a4787be9041dd990005311.tar.xz |
x86/mm/tlb: Remove unused cpu variable
The "cpu" local variable became unused after
a2055abe9c67 ("x86/mm: Pass flush_tlb_info to flush_tlb_others() etc").
Remove it.
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: x86-ml <x86@kernel.org>
Link: https://lkml.kernel.org/r/1548747417-33551-1-git-send-email-zhangshaokun@hisilicon.com
Diffstat (limited to 'arch/x86/mm')
-rw-r--r-- | arch/x86/mm/tlb.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/mm/tlb.c b/arch/x86/mm/tlb.c index 999d6d8f0bef..bc4bc7b2f075 100644 --- a/arch/x86/mm/tlb.c +++ b/arch/x86/mm/tlb.c @@ -685,9 +685,6 @@ void native_flush_tlb_others(const struct cpumask *cpumask, * that UV should be updated so that smp_call_function_many(), * etc, are optimal on UV. */ - unsigned int cpu; - - cpu = smp_processor_id(); cpumask = uv_flush_tlb_others(cpumask, info); if (cpumask) smp_call_function_many(cpumask, flush_tlb_func_remote, |