From: Matt Turner Date: Fri, 8 Feb 2013 01:21:22 +0000 (-0800) Subject: radeon: Remove dead STANDALONE_MMIO defines X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a79ce0c925809f0aeaa51b9c3122912c36c646d2;p=mesa.git radeon: Remove dead STANDALONE_MMIO defines 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 --- 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"