The patch titled x86_64 smpboot: remove unused variable has been added to the -mm tree. Its filename is x86_64-smpboot-remove-unused-variable.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: x86_64 smpboot: remove unused variable From: David Rientjes <rientjes@xxxxxxxxxxxxxxxxx> Remove unused bound variable in sync_tsc(). Reported by D Binderman <dcb314@xxxxxxxxxxx>. Cc: Andi Kleen <ak@xxxxxxx> Cc: Alan Cox <alan@xxxxxxxxxx> Signed-off-by: David Rientjes <rientjes@xxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/x86_64/kernel/smpboot.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff -puN arch/x86_64/kernel/smpboot.c~x86_64-smpboot-remove-unused-variable arch/x86_64/kernel/smpboot.c --- a/arch/x86_64/kernel/smpboot.c~x86_64-smpboot-remove-unused-variable +++ a/arch/x86_64/kernel/smpboot.c @@ -272,7 +272,7 @@ static __cpuinit void sync_tsc(unsigned { int i, done = 0; long delta, adj, adjust_latency = 0; - unsigned long flags, rt, master_time_stamp, bound; + unsigned long flags, rt, master_time_stamp; #ifdef DEBUG_TSC_SYNC static struct syncdebug { long rt; /* roundtrip time */ @@ -301,11 +301,8 @@ static __cpuinit void sync_tsc(unsigned { for (i = 0; i < NUM_ROUNDS; ++i) { delta = get_delta(&rt, &master_time_stamp); - if (delta == 0) { + if (delta == 0) done = 1; /* let's lock on to this... */ - bound = rt; - } - if (!done) { unsigned long t; if (i > 0) { _ Patches currently in -mm which might be from rientjes@xxxxxxxxxxxxxxxxx are i386-msr-remove-unused-variable.patch x86_64-smpboot-remove-unused-variable.patch memory-page_alloc-zonelist-caching-speedup.patch video-sis-remove-unnecessary-variables-in-sis_ddc2delay.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html