From a04e74cb480f98bc3dd4def2da6f6752640d9e38 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 15 Dec 2010 15:16:33 -0500 Subject: [PATCH] xfree86: Symmetrize xf86AccessEnter and xf86AccessLeave Enter was changing server operating state, Leave wasn't. Which was wholly redundant, since all callers of Enter would immediately change the operating state to exactly what Enter had just done. Reviewed-by: Tiago Vignatti Signed-off-by: Adam Jackson --- hw/xfree86/common/xf86Bus.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/xfree86/common/xf86Bus.c b/hw/xfree86/common/xf86Bus.c index 90c1914f0..623b1306e 100644 --- a/hw/xfree86/common/xf86Bus.c +++ b/hw/xfree86/common/xf86Bus.c @@ -484,8 +484,6 @@ xf86AccessEnter(void) for (i = 0; i < xf86NumEntities; i++) if (xf86Entities[i]->entityEnter) xf86Entities[i]->entityEnter(i,xf86Entities[i]->private); - - xf86EnterServerState(SETUP); } void