summaryrefslogtreecommitdiff
path: root/src/radeon_display.c
diff options
context:
space:
mode:
authorDavid Airlie <airlied@asimov.stargames.com.au>2007-02-12 15:59:43 +1100
committerDave Airlie <airlied@linux.ie>2007-02-12 15:43:24 +1100
commit6a25f620d40cbb063de94aa6b5267296cd5a0670 (patch)
tree49cabc4367d38b8d081cc1401ce125d18dcce981 /src/radeon_display.c
parent9234d8045c5fefbd1a781209409e55a13e3e5370 (diff)
remove assignments to pOutput before it is created
Diffstat (limited to 'src/radeon_display.c')
-rw-r--r--src/radeon_display.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/radeon_display.c b/src/radeon_display.c
index c1467858..fa76baca 100644
--- a/src/radeon_display.c
+++ b/src/radeon_display.c
@@ -932,7 +932,6 @@ void RADEONSetupConnectors(ScrnInfoPtr pScrn)
*/
for (i = 0; i < 2; i++) {
pRADEONEnt->PortInfo[i]->MonType = MT_UNKNOWN;
- pRADEONEnt->pOutput[i]->MonInfo = NULL;
pRADEONEnt->PortInfo[i]->DDCType = DDC_NONE_DETECTED;
pRADEONEnt->PortInfo[i]->DACType = DAC_UNKNOWN;
pRADEONEnt->PortInfo[i]->TMDSType = TMDS_UNKNOWN;
@@ -944,14 +943,12 @@ void RADEONSetupConnectors(ScrnInfoPtr pScrn)
(pRADEONEnt->PortInfo[1]->DDCType == 0))) {
/* Below is the most common setting, but may not be true */
pRADEONEnt->PortInfo[0]->MonType = MT_UNKNOWN;
- pRADEONEnt->pOutput[0]->MonInfo = NULL;
pRADEONEnt->PortInfo[0]->DDCType = DDC_DVI;
pRADEONEnt->PortInfo[0]->DACType = DAC_TVDAC;
pRADEONEnt->PortInfo[0]->TMDSType = TMDS_INT;
pRADEONEnt->PortInfo[0]->ConnectorType = CONNECTOR_DVI_I;
pRADEONEnt->PortInfo[1]->MonType = MT_UNKNOWN;
- pRADEONEnt->pOutput[1]->MonInfo = NULL;
pRADEONEnt->PortInfo[1]->DDCType = DDC_VGA;
pRADEONEnt->PortInfo[1]->DACType = DAC_PRIMARY;
pRADEONEnt->PortInfo[1]->TMDSType = TMDS_EXT;