[Mesa-dev] [PATCH 1/5] i915: Remove unused IS_MOBILE macro

Ian Romanick idr at freedesktop.org
Thu Mar 5 11:49:54 PST 2015


From: Ian Romanick <ian.d.romanick at intel.com>

Inspired by Damien's recent libdrm changes.

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Cc: Damien Lespiau <damien.lespiau at intel.com>
---
 src/mesa/drivers/dri/i915/intel_chipset.h | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/src/mesa/drivers/dri/i915/intel_chipset.h b/src/mesa/drivers/dri/i915/intel_chipset.h
index 3828085..d05fd08 100644
--- a/src/mesa/drivers/dri/i915/intel_chipset.h
+++ b/src/mesa/drivers/dri/i915/intel_chipset.h
@@ -53,16 +53,6 @@
 #define IS_PNVG(devid)	(devid == PCI_CHIP_PNV_G)
 #define IS_PNV(devid) (IS_PNVG(devid) || IS_PNVGM(devid))
 
-#define IS_MOBILE(devid)	(devid == PCI_CHIP_I855_GM || \
-				 devid == PCI_CHIP_I915_GM || \
-				 devid == PCI_CHIP_I945_GM || \
-				 devid == PCI_CHIP_I945_GME || \
-				 devid == PCI_CHIP_I965_GM || \
-				 devid == PCI_CHIP_I965_GME || \
-				 devid == PCI_CHIP_GM45_GM || \
-				 IS_PNV(devid) || \
-				 devid == PCI_CHIP_ILM_G)
-
 #define IS_915(devid)		(devid == PCI_CHIP_I915_G || \
 				 devid == PCI_CHIP_E7221_G || \
 				 devid == PCI_CHIP_I915_GM)
-- 
2.1.0



More information about the mesa-dev mailing list