Mesa (master): i915: Remove unused IS_GEN2 macro
Ian Romanick
idr at kemper.freedesktop.org
Mon Mar 9 21:09:33 UTC 2015
Module: Mesa
Branch: master
Commit: 85df48b45a3bdc8c25b37b243a9f2a2398fc9e24
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=85df48b45a3bdc8c25b37b243a9f2a2398fc9e24
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Thu Mar 5 11:26:53 2015 -0800
i915: Remove unused IS_GEN2 macro
Inspired by Damien's recent libdrm changes.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau at intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen 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)
More information about the mesa-commit
mailing list