[PATCH xserver 1/3] dix: Remove a redundant #define

Eric Anholt eric at anholt.net
Tue Apr 25 23:02:59 UTC 2017


Found when the meson conversion set the symbol to defined, instead of
defined to 1.

Signed-off-by: Eric Anholt <eric at anholt.net>
---
 dix/dispatch.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dix/dispatch.c b/dix/dispatch.c
index 78ac095b1fb8..a2df1e0e6dca 100644
--- a/dix/dispatch.c
+++ b/dix/dispatch.c
@@ -222,8 +222,7 @@ UpdateCurrentTimeIf(void)
 #define SMART_SCHEDULE_MAX_SLICE	15
 
 #ifdef HAVE_SETITIMER
-#define SMART_SCHEDULE_DEFAULT_SIGNAL_ENABLE HAVE_SETITIMER
-Bool SmartScheduleSignalEnable = SMART_SCHEDULE_DEFAULT_SIGNAL_ENABLE;
+Bool SmartScheduleSignalEnable = TRUE;
 #endif
 
 long SmartScheduleSlice = SMART_SCHEDULE_DEFAULT_INTERVAL;
-- 
2.11.0



More information about the xorg-devel mailing list