i915: Remove unused IS_GEN2 macro
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 5 Mar 2015 19:26:53 +0000 (11:26 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 9 Mar 2015 21:09:21 +0000 (14:09 -0700)
Inspired by Damien's recent libdrm changes.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i915/intel_chipset.h

index d33a80f76376d3876874f338988c7bef6a0ed7fb..7523ab77421d2406ba2a0f75a0f5b01fbea58a96 100644 (file)
@@ -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)