diff options
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/sis/init301.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/video/sis/init301.c b/drivers/video/sis/init301.c index f13faddc6181..47e1896cffeb 100644 --- a/drivers/video/sis/init301.c +++ b/drivers/video/sis/init301.c | |||
@@ -445,11 +445,8 @@ SiS_CR36BIOSWord23d(struct SiS_Private *SiS_Pr) | |||
445 | void | 445 | void |
446 | SiS_DDC2Delay(struct SiS_Private *SiS_Pr, unsigned int delaytime) | 446 | SiS_DDC2Delay(struct SiS_Private *SiS_Pr, unsigned int delaytime) |
447 | { | 447 | { |
448 | unsigned int i, j; | 448 | while (delaytime-- > 0) |
449 | 449 | SiS_GetReg(SiS_Pr->SiS_P3c4, 0x05); | |
450 | for(i = 0; i < delaytime; i++) { | ||
451 | j += SiS_GetReg(SiS_Pr->SiS_P3c4,0x05); | ||
452 | } | ||
453 | } | 450 | } |
454 | 451 | ||
455 | #if defined(SIS300) || defined(SIS315H) | 452 | #if defined(SIS300) || defined(SIS315H) |