i915: Remove (mostly) unused IS_PNV, IS_PNVG, and IS_PNVGM macros
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 5 Mar 2015 18:47:56 +0000 (10:47 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 9 Mar 2015 21:09:06 +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 f7c8b5df4e63fe5d558b707dfdec6f55106aa77b..cbcdb140438f3021f4264d2943cf1cd0a27dba14 100644 (file)
 #define PCI_CHIP_PNV_GM                        0xA011
 #define PCI_CHIP_PNV_G                 0xA001
 
-#define IS_PNVGM(devid)        (devid == PCI_CHIP_PNV_GM)
-#define IS_PNVG(devid) (devid == PCI_CHIP_PNV_G)
-#define IS_PNV(devid) (IS_PNVG(devid) || IS_PNVGM(devid))
-
 #define IS_915(devid)          (devid == PCI_CHIP_I915_G || \
                                 devid == PCI_CHIP_E7221_G || \
                                 devid == PCI_CHIP_I915_GM)
@@ -62,7 +58,9 @@
                                 devid == PCI_CHIP_I945_GME || \
                                 devid == PCI_CHIP_G33_G || \
                                 devid == PCI_CHIP_Q33_G || \
-                                devid == PCI_CHIP_Q35_G || IS_PNV(devid))
+                                devid == PCI_CHIP_Q35_G || \
+                                devid == PCI_CHIP_PNV_G || \
+                                devid == PCI_CHIP_PNV_GM)
 
 #define IS_GEN3(devid)         (IS_915(devid) ||       \
                                 IS_945(devid))