From dc632a43d106cf86cff76abae9f7df648eda9c37 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 21 May 2025 12:20:30 +0200 Subject: [PATCH] xfree86: xf86Priv.h: drop DEFAULT_VERBOSE and DEFAULT_LOG_VERBOSE defines Not used by any external drivers, so we can use their values directly. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86Globals.c | 4 ++-- hw/xfree86/common/xf86Priv.h | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/hw/xfree86/common/xf86Globals.c b/hw/xfree86/common/xf86Globals.c index c0355607c..58e20dcde 100644 --- a/hw/xfree86/common/xf86Globals.c +++ b/hw/xfree86/common/xf86Globals.c @@ -178,8 +178,8 @@ char *xf86LayoutName = NULL; char *xf86ScreenName = NULL; char *xf86PointerName = NULL; char *xf86KeyboardName = NULL; -int xf86Verbose = DEFAULT_VERBOSE; -int xf86LogVerbose = DEFAULT_LOG_VERBOSE; +int xf86Verbose = 0; +int xf86LogVerbose = 3; int xf86FbBpp = -1; int xf86Depth = -1; rgb xf86Weight = { 0, 0, 0 }; diff --git a/hw/xfree86/common/xf86Priv.h b/hw/xfree86/common/xf86Priv.h index 2059290f5..13fabda3c 100644 --- a/hw/xfree86/common/xf86Priv.h +++ b/hw/xfree86/common/xf86Priv.h @@ -52,12 +52,6 @@ extern _X_EXPORT int xf86NumScreens; extern _X_EXPORT ScrnInfoPtr *xf86GPUScreens; /* List of pointers to ScrnInfoRecs */ extern _X_EXPORT int xf86NumGPUScreens; extern _X_EXPORT int xf86DRMMasterFd; /* Command line argument for DRM master file descriptor */ -#ifndef DEFAULT_VERBOSE -#define DEFAULT_VERBOSE 0 -#endif -#ifndef DEFAULT_LOG_VERBOSE -#define DEFAULT_LOG_VERBOSE 3 -#endif #ifndef DEFAULT_DPI #define DEFAULT_DPI 96 #endif