On Wed, Dec 15, 2010 at 02:59:42PM -0500, Adam Jackson wrote: > What is this, I don't even. > > Signed-off-by: Adam Jackson <[email protected]> > --- > hw/xfree86/common/xf86.h | 1 - > hw/xfree86/common/xf86Globals.c | 1 - > hw/xfree86/common/xf86PM.c | 3 --- > 3 files changed, 0 insertions(+), 5 deletions(-) > > diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h > index b29ec51..f7470f2 100644 > --- a/hw/xfree86/common/xf86.h > +++ b/hw/xfree86/common/xf86.h > @@ -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 */ > diff --git a/hw/xfree86/common/xf86Globals.c b/hw/xfree86/common/xf86Globals.c > index 6177f05..16d5557 100644 > --- a/hw/xfree86/common/xf86Globals.c > +++ b/hw/xfree86/common/xf86Globals.c > @@ -194,5 +194,4 @@ Bool xf86VidModeDisabled = FALSE; > Bool xf86VidModeAllowNonLocal = FALSE; > #endif > RootWinPropPtr *xf86RegisteredPropertiesTable = NULL; > -Bool xf86inSuspend = FALSE; > Bool xorgHWAccess = FALSE; > diff --git a/hw/xfree86/common/xf86PM.c b/hw/xfree86/common/xf86PM.c > index 7af89b5..6b1b138 100644 > --- a/hw/xfree86/common/xf86PM.c > +++ b/hw/xfree86/common/xf86PM.c > @@ -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 > -- > 1.7.3.2
Reviewed-by: Peter Hutterer <[email protected]> Cheers, Peter _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
