The patch titled i386 msr: remove unused variable has been added to the -mm tree. Its filename is i386-msr-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: i386 msr: remove unused variable From: David Rientjes <rientjes@xxxxxxxxxxxxxxxxx> Remove unused variable in msr_write(). Reported by D Binderman <dcb314@xxxxxxxxxxx>. Cc: H. Peter Anvin <hpa@xxxxxxxxx> Signed-off-by: David Rientjes <rientjes@xxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/i386/kernel/msr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN arch/i386/kernel/msr.c~i386-msr-remove-unused-variable arch/i386/kernel/msr.c --- a/arch/i386/kernel/msr.c~i386-msr-remove-unused-variable +++ a/arch/i386/kernel/msr.c @@ -195,7 +195,6 @@ static ssize_t msr_write(struct file *fi { const u32 __user *tmp = (const u32 __user *)buf; u32 data[2]; - size_t rv; u32 reg = *ppos; int cpu = iminor(file->f_dentry->d_inode); int err; @@ -203,7 +202,7 @@ static ssize_t msr_write(struct file *fi if (count % 8) return -EINVAL; /* Invalid chunk size */ - for (rv = 0; count; count -= 8) { + for (; count; count -= 8) { if (copy_from_user(&data, tmp, 8)) return -EFAULT; err = do_wrmsr(cpu, reg, data[0], data[1]); _ Patches currently in -mm which might be from rientjes@xxxxxxxxxxxxxxxxx are i386-msr-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