[Mesa-dev] [PATCH 1/7] st/xorg: remove unnecessary headers

Emil Velikov emil.l.velikov at gmail.com
Sat Sep 28 07:46:15 PDT 2013


v2: Remove xf86PciInfo.h, all drivers provide their own PCI ID list

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/gallium/state_trackers/xorg/xorg_driver.c | 1 -
 src/gallium/state_trackers/xorg/xorg_output.c | 7 -------
 2 files changed, 8 deletions(-)

diff --git a/src/gallium/state_trackers/xorg/xorg_driver.c b/src/gallium/state_trackers/xorg/xorg_driver.c
index 9d7713c..dd243bc 100644
--- a/src/gallium/state_trackers/xorg/xorg_driver.c
+++ b/src/gallium/state_trackers/xorg/xorg_driver.c
@@ -33,7 +33,6 @@
 #include "xf86.h"
 #include "xf86_OSproc.h"
 #include "compiler.h"
-#include "xf86PciInfo.h"
 #include "xf86Pci.h"
 #include "mipointer.h"
 #include "micmap.h"
diff --git a/src/gallium/state_trackers/xorg/xorg_output.c b/src/gallium/state_trackers/xorg/xorg_output.c
index b183cdf..dffc28e 100644
--- a/src/gallium/state_trackers/xorg/xorg_output.c
+++ b/src/gallium/state_trackers/xorg/xorg_output.c
@@ -43,13 +43,6 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 
-#ifdef HAVE_XEXTPROTO_71
-#include <X11/extensions/dpmsconst.h>
-#else
-#define DPMS_SERVER
-#include <X11/extensions/dpms.h>
-#endif
-
 #include "xorg_tracker.h"
 
 struct output_private
-- 
1.8.4



More information about the mesa-dev mailing list