From b11bc37684181390fc1400afb44054785104ca15 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 9 Jul 2012 11:09:16 +0100 Subject: sna: Simplify the DBG incarnation It was only ever used in conjunction with HAS_DEBUG_FULL. For debug purposes it is as easy to redefine DBG locally. By simplifying the DBG macro we can create it consistently and so reduce the number of compiler warnings. Long term, this has to be dynamic. Sigh. Signed-off-by: Chris Wilson --- src/sna/sna_dri.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/sna/sna_dri.c') diff --git a/src/sna/sna_dri.c b/src/sna/sna_dri.c index 75c66b7a..405a7cd2 100644 --- a/src/sna/sna_dri.c +++ b/src/sna/sna_dri.c @@ -46,11 +46,6 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. #include #include -#if DEBUG_DRI -#undef DBG -#define DBG(x) ErrorF x -#endif - #if DRI2INFOREC_VERSION <= 2 #error DRI2 version supported by the Xserver is too old #endif -- cgit v1.2.3