From: Ian Romanick Date: Thu, 5 Mar 2015 18:24:57 +0000 (-0800) Subject: i915: Remove unused IS_MOBILE macro X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6d41316b79cf6d67bcbd155dfb6556e2977080d5;p=mesa.git i915: Remove unused IS_MOBILE macro Inspired by Damien's recent libdrm changes. Signed-off-by: Ian Romanick Reviewed-by: Damien Lespiau Reviewed-by: Jordan Justen --- diff --git a/src/mesa/drivers/dri/i915/intel_chipset.h b/src/mesa/drivers/dri/i915/intel_chipset.h index 38280855310..d05fd08c793 100644 --- a/src/mesa/drivers/dri/i915/intel_chipset.h +++ b/src/mesa/drivers/dri/i915/intel_chipset.h @@ -53,16 +53,6 @@ #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)