summaryrefslogtreecommitdiff
path: root/hw/xfree86/common
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2018-08-22 11:18:58 -0400
committerAdam Jackson <ajax@nwnk.net>2018-09-12 20:47:15 +0000
commit6a094185d14db6818d98a320c59e0c4d7d43d5a8 (patch)
treef2442d3ec67dae8f476fca1dcd023470c49998e3 /hw/xfree86/common
parent60ec8eadc370a9b06cc3f105974c0c6b8ad1bb4e (diff)
xfree86: Remove some redundant zero-fill for ScrnInfoRec
xf86AllocateScreen() callocs these for us. Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'hw/xfree86/common')
-rw-r--r--hw/xfree86/common/xf86Init.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
index 8be36006e..36a3c4ef6 100644
--- a/hw/xfree86/common/xf86Init.c
+++ b/hw/xfree86/common/xf86Init.c
@@ -680,11 +680,6 @@ InitOutput(ScreenInfo * pScreenInfo, int argc, char **argv)
#ifdef XFreeXDGA
pScrn->SetDGAMode = xf86SetDGAMode;
#endif
- pScrn->DPMSSet = NULL;
- pScrn->LoadPalette = NULL;
- pScrn->SetOverscan = NULL;
- pScrn->DriverFunc = NULL;
- pScrn->pScreen = NULL;
scr_index = AddGPUScreen(xf86ScreenInit, argc, argv);
xf86VGAarbiterUnlock(pScrn);
if (scr_index == i) {
@@ -708,11 +703,6 @@ InitOutput(ScreenInfo * pScreenInfo, int argc, char **argv)
#ifdef XFreeXDGA
xf86Screens[i]->SetDGAMode = xf86SetDGAMode;
#endif
- xf86Screens[i]->DPMSSet = NULL;
- xf86Screens[i]->LoadPalette = NULL;
- xf86Screens[i]->SetOverscan = NULL;
- xf86Screens[i]->DriverFunc = NULL;
- xf86Screens[i]->pScreen = NULL;
scr_index = AddScreen(xf86ScreenInit, argc, argv);
xf86VGAarbiterUnlock(xf86Screens[i]);
if (scr_index == i) {