drm/i915: Remove unused BSM_MASK causing warning
authorJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Wed, 12 Oct 2016 07:18:54 +0000 (10:18 +0300)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Wed, 12 Oct 2016 07:49:17 +0000 (10:49 +0300)
commit40006c4355e3469330317a77dfff300802265d20
treea1b6854f725e900dcb72ce1c1cac17c2c183afb0
parentc0c8b9ed1b0c14d91ff73624df6d918bb47c8a5e
drm/i915: Remove unused BSM_MASK causing warning

Remove never used BSM{,_MASK}. BSM_MASK #define also causes a warning.

include/drm/i915_drm.h:96:34: warning: result of β€˜65535 << 20’
requires 37 bits to represent, but β€˜int’ only has 32 bits
[-Wshiftoverflow=]
   #define   INTEL_BSM_MASK (0xFFFF << 20)

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1476256734-6457-1-git-send-email-joonas.lahtinen@linux.intel.com
drivers/gpu/drm/i915/i915_reg.h