Mesa (master): radeon: remove left over dead code

Eric Engeström eric_engestrom at kemper.freedesktop.org
Tue Jan 23 15:41:09 UTC 2018


Module: Mesa
Branch: master
Commit: eee8dd7c3360ec0daf3d44168b6d1c32c52bf69b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eee8dd7c3360ec0daf3d44168b6d1c32c52bf69b

Author: Eric Engestrom <eric.engestrom at imgtec.com>
Date:   Tue Dec 19 13:41:35 2017 +0000

radeon: remove left over dead code

Fixes: 4e0d99a63588c67a955f "r100: Use shared debug code"
Cc: Pauli Nieminen <suokkos at gmail.com>
Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
Reviewed-by: Eric Anholt <eric at anholt.net>

---

 src/mesa/drivers/dri/radeon/radeon_context.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/mesa/drivers/dri/radeon/radeon_context.c b/src/mesa/drivers/dri/radeon/radeon_context.c
index 8ad0911586..8c5c167199 100644
--- a/src/mesa/drivers/dri/radeon/radeon_context.c
+++ b/src/mesa/drivers/dri/radeon/radeon_context.c
@@ -330,12 +330,6 @@ r100CreateContext( gl_api api,
 
    rmesa->radeon.do_usleeps = (fthrottle_mode == DRI_CONF_FTHROTTLE_USLEEPS);
 
-
-#if DO_DEBUG
-   RADEON_DEBUG = parse_debug_string( getenv( "RADEON_DEBUG" ),
-                                      debug_control );
-#endif
-
    tcl_mode = driQueryOptioni(&rmesa->radeon.optionCache, "tcl_mode");
    if (driQueryOptionb(&rmesa->radeon.optionCache, "no_rast")) {
       fprintf(stderr, "disabling 3D acceleration\n");




More information about the mesa-commit mailing list