From: Ian Romanick Date: Thu, 5 Mar 2015 19:26:53 +0000 (-0800) Subject: i915: Remove unused IS_GEN2 macro X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=85df48b45a3bdc8c25b37b243a9f2a2398fc9e24;p=mesa.git i915: Remove unused IS_GEN2 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 d33a80f7637..7523ab77421 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)