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>
This commit is contained in:
Aaron Plattner 2017-08-05 21:27:30 +07:00
parent 12e3e20301
commit 7c3b090e80
2 changed files with 0 additions and 10 deletions

View File

@ -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 */

View File

@ -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;
}