]> git.baikalelectronics.ru Git - kernel.git/commit
x86/mm: Remove unused variable 'cpu'
authorQian Cai <cai@lca.pw>
Thu, 28 Feb 2019 22:01:55 +0000 (17:01 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 6 Mar 2019 22:24:52 +0000 (23:24 +0100)
commitc57fe5e86504fbaf2d9736bf61724c3db3e465eb
treeb42c5c548f59df1b89e903b5d64cc03a033f65a8
parent63a62ccc41234ae74af8695418bababfd58c4898
x86/mm: Remove unused variable 'cpu'

The commit 420892b3d7d3 ("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: 420892b3d7d3 ("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
arch/x86/mm/tlb.c