[Mesa-dev] [PATCH 5/5] i915: Remove unused IS_GEN2 macro
Ian Romanick
idr at freedesktop.org
Thu Mar 5 11:49:58 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 | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/mesa/drivers/dri/i915/intel_chipset.h b/src/mesa/drivers/dri/i915/intel_chipset.h
index d33a80f..7523ab7 100644
--- a/src/mesa/drivers/dri/i915/intel_chipset.h
+++ b/src/mesa/drivers/dri/i915/intel_chipset.h
@@ -62,8 +62,3 @@
devid == PCI_CHIP_E7221_G || \
devid == PCI_CHIP_I915_GM || \
IS_945(devid))
-
-#define IS_GEN2(devid) (devid == PCI_CHIP_I830_M || \
- devid == PCI_CHIP_845_G || \
- devid == PCI_CHIP_I855_GM || \
- devid == PCI_CHIP_I865_G)
--
2.1.0
More information about the mesa-dev
mailing list