summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2017-08-05 21:27:30 +0700
committerAaron Plattner <aplattner@nvidia.com>2017-08-05 16:46:21 -0700
commit7c3b090e80a9b364434120262f9bef5686cd2e2e (patch)
tree05712f4e69d989069c6e579d162b2d95801f6d42
parent12e3e2030171b7a5df074a56293eb16da40cd99b (diff)
Delete dPtr->screenSaver
This is assigned, but never used. Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Bob Terek <xorg@esoterek.com> Tested-by: Antoine Martin <antoine@nagafix.co.uk>
-rw-r--r--src/dummy.h1
-rw-r--r--src/dummy_driver.c9
2 files changed, 0 insertions, 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;
}