The patch titled video SiS: remove unnecessary variables in SiS_DDC2Delay has been removed from the -mm tree. Its filename was video-sis-remove-unnecessary-variables-in-sis_ddc2delay.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: video SiS: remove unnecessary variables in SiS_DDC2Delay From: David Rientjes <rientjes@xxxxxxxxxxxxxxxxx> Remove unnecesary iteration and accumulator variables from SiS_DDC2Delay. Originally spotted by Jesper Juhl <jesper.juhl@xxxxxxxxx>. Cc: Jesper Juhl <jesper.juhl@xxxxxxxxx> Cc: Thomas Winischhofer <thomas@xxxxxxxxxxxxxxxx> Signed-off-by: David Rientjes <rientjes@xxxxxxxxxxxxxxxxx> Cc: "Antonino A. Daplas" <adaplas@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/video/sis/init301.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff -puN drivers/video/sis/init301.c~video-sis-remove-unnecessary-variables-in-sis_ddc2delay drivers/video/sis/init301.c --- a/drivers/video/sis/init301.c~video-sis-remove-unnecessary-variables-in-sis_ddc2delay +++ a/drivers/video/sis/init301.c @@ -445,11 +445,8 @@ SiS_CR36BIOSWord23d(struct SiS_Private * void SiS_DDC2Delay(struct SiS_Private *SiS_Pr, unsigned int delaytime) { - unsigned int i, j; - - for(i = 0; i < delaytime; i++) { - j += SiS_GetReg(SiS_Pr->SiS_P3c4,0x05); - } + while (delaytime-- > 0) + SiS_GetReg(SiS_Pr->SiS_P3c4, 0x05); } #if defined(SIS300) || defined(SIS315H) _ Patches currently in -mm which might be from rientjes@xxxxxxxxxxxxxxxxx are origin.patch video-sis-remove-unnecessary-variables-in-sis_ddc2delay.patch hrtimers-clean-up-locking-fix.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