summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Winischhofer <thomas@winischhofer.net>2004-08-11 19:01:33 +0000
committerThomas Winischhofer <thomas@winischhofer.net>2004-08-11 19:01:33 +0000
commit5a5956a8b9ff9ed1c285f152cdb4c0fe4ef117a5 (patch)
tree5730c99e6420d3454da9c90c5a159e08726b2205
parent32f31c8443272db98d82743708d3f22213ec1926 (diff)
SiS driver: Remove unneeded statementXORG-6_7_99_2
-rw-r--r--src/sis_driver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sis_driver.c b/src/sis_driver.c
index cec85da..4601e54 100644
--- a/src/sis_driver.c
+++ b/src/sis_driver.c
@@ -6913,11 +6913,10 @@ SISRestore(ScrnInfoPtr pScrn)
}
SiSSetMode(pSiS->SiS_Pr, &pSiS->sishw_ext, pScrn, mymode, FALSE);
if(changedmode) {
- mymode = 0x03;
outSISIDXREG(SISCR,0x34,0x03);
}
SISSpecialRestore(pScrn);
- SiS_GetSetModeID(pScrn,pSiS->OldMode); /* NOT mymode! */
+ SiS_GetSetModeID(pScrn, pSiS->OldMode); /* NOT mymode! */
pSiS->SiS_Pr->UsePanelScaler = backupscaler;
pSiS->SiS_Pr->CenterScreen = backupcenter;
pSiS->SiS_Pr->SiS_CustomT = backupspecialtiming;