summaryrefslogtreecommitdiff
path: root/src/dummy_driver.c
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 /src/dummy_driver.c
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>
Diffstat (limited to 'src/dummy_driver.c')
-rw-r--r--src/dummy_driver.c9
1 files changed, 0 insertions, 9 deletions
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;
}