summaryrefslogtreecommitdiff
path: root/src/radeon_output.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-01-21 02:28:47 -0500
committerAlex Deucher <alexdeucher@gmail.com>2009-01-21 02:28:47 -0500
commit5850abbdcd22b70bdbccd3642f8ba1a27e38e7cd (patch)
treec26aa63b1af92ec8fd4dfd2c6c66ab21eb8dbc53 /src/radeon_output.c
parent152d1d4c179c262be4d0a5618400aa13b4820342 (diff)
clean up encoder setup
- make sure not to duplicate encoders - use single encoder array
Diffstat (limited to 'src/radeon_output.c')
-rw-r--r--src/radeon_output.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c
index 2ac577ce..89a0974a 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -2755,7 +2755,7 @@ Bool RADEONSetupConnectors(ScrnInfoPtr pScrn)
RADEONInfoPtr info = RADEONPTR(pScrn);
xf86OutputPtr output;
char *optstr;
- int i, j;
+ int i;
int num_vga = 0;
int num_dvi = 0;
int num_hdmi = 0;
@@ -2766,8 +2766,6 @@ Bool RADEONSetupConnectors(ScrnInfoPtr pScrn)
*/
for (i = 0; i < RADEON_MAX_BIOS_CONNECTOR; i++) {
info->encoders[i] = NULL;
- for (j = 0; j < RADEON_MAX_BIOS_CONNECTOR; j++)
- info->BiosConnector[i].encoders[j] = NULL;
info->BiosConnector[i].valid = FALSE;
info->BiosConnector[i].load_detection = TRUE;
info->BiosConnector[i].shared_ddc = FALSE;
@@ -2905,8 +2903,6 @@ Bool RADEONSetupConnectors(ScrnInfoPtr pScrn)
radeon_output->load_detection = info->BiosConnector[i].load_detection;
radeon_output->linkb = info->BiosConnector[i].linkb;
radeon_output->connector_id = info->BiosConnector[i].connector_object;
- for (j = 0; j < RADEON_MAX_BIOS_CONNECTOR; j++)
- radeon_output->encoders[j] = info->BiosConnector[i].encoders[j];
radeon_output->LVDSType = info->BiosConnector[i].LVDSType;