From a79ce0c925809f0aeaa51b9c3122912c36c646d2 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 7 Feb 2013 17:21:22 -0800 Subject: [PATCH] radeon: Remove dead STANDALONE_MMIO defines MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit These were, at some point in the past, used to request that Xorg's compiler.h export a static inline xf86ReadMmio32 instead of a function pointer. compiler.h only has this option for DEC Alpha. But Xorg's compiler.h isn't being included by either of these two files and the radeon driver still works on Alpha, so the definitions are dead and not needed. Reviewed-by: Michel Dänzer --- src/mesa/drivers/dri/radeon/radeon_ioctl.c | 2 -- src/mesa/drivers/dri/radeon/radeon_screen.c | 1 - 2 files changed, 3 deletions(-) diff --git a/src/mesa/drivers/dri/radeon/radeon_ioctl.c b/src/mesa/drivers/dri/radeon/radeon_ioctl.c index 4167820765b..d6419f34baa 100644 --- a/src/mesa/drivers/dri/radeon/radeon_ioctl.c +++ b/src/mesa/drivers/dri/radeon/radeon_ioctl.c @@ -49,8 +49,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "radeon_common.h" #include "radeon_ioctl.h" -#define STANDALONE_MMIO - #define RADEON_TIMEOUT 512 #define RADEON_IDLE_RETRY 16 diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c index ee77fc48134..41460f98212 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.c +++ b/src/mesa/drivers/dri/radeon/radeon_screen.c @@ -44,7 +44,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "main/fbobject.h" #include "swrast/s_renderbuffer.h" -#define STANDALONE_MMIO #include "radeon_chipset.h" #include "radeon_macros.h" #include "radeon_screen.h" -- 2.30.2