Module: Mesa
Branch: master
Commit: 85df48b45a3bdc8c25b37b243a9f2a2398fc9e24
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=85df48b45a3bdc8c25b37b243a9f2a2398fc9e24

Author: Ian Romanick <[email protected]>
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 <[email protected]>
Reviewed-by: Damien Lespiau <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>

---

 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)

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to