[PATCH xf86-video-dummy 2/4] Delete dPtr->screenSaver
Bob Terek
xorg at esoterek.com
Tue Dec 6 22:41:51 UTC 2016
This is assigned, but never used.
Signed-off-by: Bob Terek <xorg at esoterek.com>
---
src/dummy.h | 1 -
src/dummy_driver.c | 9 ---------
2 files changed, 10 deletions(-)
diff --git a/src/dummy.h b/src/dummy.h
index c231be4..705b9e5 100644
--- a/src/dummy.h
+++ b/src/dummy.h
@@ -56,7 +56,6 @@ typedef struct dummyRec
int cursorX, cursorY;
int cursorFG, cursorBG;
- Bool screenSaver;
dummy_colors colors[256];
pointer* FBBase;
Bool (*CreateWindow)() ; /* wrapped CreateWindow */
diff --git a/src/dummy_driver.c b/src/dummy_driver.c
index c9ff925..24f2f28 100644
--- a/src/dummy_driver.c
+++ b/src/dummy_driver.c
@@ -675,15 +675,6 @@ DUMMYFreeScreen(FREE_SCREEN_ARGS_DECL)
static Bool
DUMMYSaveScreen(ScreenPtr pScreen, int mode)
{
- ScrnInfoPtr pScrn = NULL;
- DUMMYPtr dPtr;
-
- if (pScreen != NULL) {
- pScrn = xf86ScreenToScrn(pScreen);
- dPtr = DUMMYPTR(pScrn);
-
- dPtr->screenSaver = xf86IsUnblank(mode);
- }
return TRUE;
}
--
1.9.1
More information about the xorg-devel
mailing list