xfree86: Remove unused xf86inSuspend
What is this, I don't even. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
e7dc253452
commit
040d54fb88
|
@ -69,7 +69,6 @@ extern _X_EXPORT Bool fbSlotClaimed;
|
|||
extern _X_EXPORT Bool sbusSlotClaimed;
|
||||
#endif
|
||||
extern _X_EXPORT confDRIRec xf86ConfigDRI;
|
||||
extern _X_EXPORT Bool xf86inSuspend;
|
||||
extern _X_EXPORT Bool xf86DRI2Enabled(void);
|
||||
|
||||
extern _X_EXPORT Bool VTSwitchEnabled; /* kbd driver */
|
||||
|
|
|
@ -194,5 +194,4 @@ Bool xf86VidModeDisabled = FALSE;
|
|||
Bool xf86VidModeAllowNonLocal = FALSE;
|
||||
#endif
|
||||
RootWinPropPtr *xf86RegisteredPropertiesTable = NULL;
|
||||
Bool xf86inSuspend = FALSE;
|
||||
Bool xorgHWAccess = FALSE;
|
||||
|
|
|
@ -67,8 +67,6 @@ suspend (pmEvent event, Bool undo)
|
|||
int i;
|
||||
InputInfoPtr pInfo;
|
||||
|
||||
xf86inSuspend = TRUE;
|
||||
|
||||
for (i = 0; i < xf86NumScreens; i++) {
|
||||
if (xf86Screens[i]->EnableDisableFBAccess)
|
||||
(*xf86Screens[i]->EnableDisableFBAccess) (i, FALSE);
|
||||
|
@ -118,7 +116,6 @@ resume(pmEvent event, Bool undo)
|
|||
EnableDevice(pInfo->dev, TRUE);
|
||||
pInfo = pInfo->next;
|
||||
}
|
||||
xf86inSuspend = FALSE;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue
Block a user