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:
parent
12e3e20301
commit
7c3b090e80
@ -56,7 +56,6 @@ typedef struct dummyRec
|
|||||||
int cursorX, cursorY;
|
int cursorX, cursorY;
|
||||||
int cursorFG, cursorBG;
|
int cursorFG, cursorBG;
|
||||||
|
|
||||||
Bool screenSaver;
|
|
||||||
dummy_colors colors[256];
|
dummy_colors colors[256];
|
||||||
pointer* FBBase;
|
pointer* FBBase;
|
||||||
Bool (*CreateWindow)() ; /* wrapped CreateWindow */
|
Bool (*CreateWindow)() ; /* wrapped CreateWindow */
|
||||||
|
@ -675,15 +675,6 @@ DUMMYFreeScreen(FREE_SCREEN_ARGS_DECL)
|
|||||||
static Bool
|
static Bool
|
||||||
DUMMYSaveScreen(ScreenPtr pScreen, int mode)
|
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;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user