summaryrefslogtreecommitdiff
path: root/arch/riscv
diff options
context:
space:
mode:
authorQian Cai <cai@lca.pw>2019-02-28 17:01:55 -0500
committerThomas Gleixner <tglx@linutronix.de>2019-03-06 23:24:52 +0100
commit3609e31bc8dc03b701390f79c74fc7fe92b95039 (patch)
treeb42c5c548f59df1b89e903b5d64cc03a033f65a8 /arch/riscv
parenta2863b53418d7d8f6332adf0cfb32611def0c4b9 (diff)
downloadlwn-3609e31bc8dc03b701390f79c74fc7fe92b95039.tar.gz
lwn-3609e31bc8dc03b701390f79c74fc7fe92b95039.zip
x86/mm: Remove unused variable 'cpu'
The commit a2055abe9c67 ("x86/mm: Pass flush_tlb_info to flush_tlb_others() etc") removed the unnecessary cpu parameter from uv_flush_tlb_others() but left an unused variable. arch/x86/mm/tlb.c: In function 'native_flush_tlb_others': arch/x86/mm/tlb.c:688:16: warning: variable 'cpu' set but not used [-Wunused-but-set-variable] unsigned int cpu; ^~~ Fixes: a2055abe9c67 ("x86/mm: Pass flush_tlb_info to flush_tlb_others() etc") Signed-off-by: Qian Cai <cai@lca.pw> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Andyt Lutomirski <luto@kernel.org> Cc: dave.hansen@linux.intel.com Cc: peterz@infradead.org Cc: bp@alien8.de Cc: hpa@zytor.com Link: https://lkml.kernel.org/r/20190228220155.88124-1-cai@lca.pw
Diffstat (limited to 'arch/riscv')
0 files changed, 0 insertions, 0 deletions