i915: Remove unused IS_MOBILE macro
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 5 Mar 2015 18:24:57 +0000 (10:24 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 9 Mar 2015 21:08:49 +0000 (14:08 -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 3828085..d05fd08 100644 (file)
 #define IS_PNVG(devid) (devid == PCI_CHIP_PNV_G)
 #define IS_PNV(devid) (IS_PNVG(devid) || IS_PNVGM(devid))
 
-#define IS_MOBILE(devid)       (devid == PCI_CHIP_I855_GM || \
-                                devid == PCI_CHIP_I915_GM || \
-                                devid == PCI_CHIP_I945_GM || \
-                                devid == PCI_CHIP_I945_GME || \
-                                devid == PCI_CHIP_I965_GM || \
-                                devid == PCI_CHIP_I965_GME || \
-                                devid == PCI_CHIP_GM45_GM || \
-                                IS_PNV(devid) || \
-                                devid == PCI_CHIP_ILM_G)
-
 #define IS_915(devid)          (devid == PCI_CHIP_I915_G || \
                                 devid == PCI_CHIP_E7221_G || \
                                 devid == PCI_CHIP_I915_GM)