diff options
author | Eric Anholt <eric@anholt.net> | 2006-09-22 09:41:07 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2006-09-22 10:52:03 -0700 |
commit | c52242c22779a51aa12b18a7a589080ce44c8484 (patch) | |
tree | 166bfa8680ee816cee11564f0331f7ab8c9dfafd /src/i830_modes.c | |
parent | c2446be9b444b16c95f78dab17bf130f9f491ee2 (diff) |
Remove some dead code related to clock ranges.
Diffstat (limited to 'src/i830_modes.c')
-rw-r--r-- | src/i830_modes.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/i830_modes.c b/src/i830_modes.c index 6bff1d0a..f1cdbe1f 100644 --- a/src/i830_modes.c +++ b/src/i830_modes.c @@ -1025,20 +1025,6 @@ I830ValidateXF86ModeList(ScrnInfoPtr pScrn, Bool first_time) last->next = pScrn->modes; pScrn->modes->prev = last; -#if 0 - /* XXX: do I need this any more? Maybe XF86VidMode uses it? - * Set up the ClockRanges, which describe what clock ranges are available, - * and what sort of modes they can be used for. - */ - clockRanges = xnfcalloc(sizeof(ClockRange), 1); - clockRanges->next = NULL; - clockRanges->minClock = 25000; - clockRanges->maxClock = pI830->MaxClock; - clockRanges->clockIndex = -1; /* programmable */ - clockRanges->interlaceAllowed = TRUE; /* XXX check this */ - clockRanges->doubleScanAllowed = FALSE; /* XXX check this */ -#endif - #if DEBUG_REPROBE xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Modes post revalidate\n"); do { |