diff options
author | Keith Packard <keithp@neko.keithp.com> | 2006-11-03 12:55:25 -0800 |
---|---|---|
committer | Keith Packard <keithp@neko.keithp.com> | 2006-11-03 12:55:25 -0800 |
commit | 9681602177124e84a817a1e1d428f1779f2a45c9 (patch) | |
tree | 4267e71691396f005bf1bce064d81cc85205dcce /src/i830_modes.c | |
parent | 2c9ab6e0594769274f2dbcdf7c00fe297fc385d5 (diff) |
Create I830PipeRec to hold pipe-specific data. Remove unused I830 members.
I830 contained six parallel arrays for pipe-specific data; these
have been moved to a I830PipeRec structure instead.
I830 also contained several unused members:
unsigned int bios_version;
Bool newPipeSwitch;
Bool fakeSwitch;
int fixedPipe;
These have been removed, along with the code that set them.
Diffstat (limited to 'src/i830_modes.c')
-rw-r--r-- | src/i830_modes.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/i830_modes.c b/src/i830_modes.c index 0bb17a54..b6867c3c 100644 --- a/src/i830_modes.c +++ b/src/i830_modes.c @@ -385,27 +385,6 @@ i830GetModeListTail(DisplayModePtr pModeList) } /** - * Appends a list of modes to another mode list, without duplication. - */ -static void -i830AppendModes(ScrnInfoPtr pScrn, DisplayModePtr *modeList, - DisplayModePtr addModes) -{ - DisplayModePtr first = *modeList; - DisplayModePtr last = i830GetModeListTail(first); - - if (addModes == NULL) - return; - - if (first == NULL) { - *modeList = addModes; - } else { - last->next = addModes; - addModes->prev = last; - } -} - -/** * This function removes a mode from a list of modes. It should probably be * moved to xf86Mode.c. * |