drm/i915: Remove unneeded brackets
authorDamien Lespiau <damien.lespiau@intel.com>
Sat, 30 Aug 2014 15:51:02 +0000 (16:51 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 10:39:10 +0000 (12:39 +0200)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Arun Siluvery <arun.siluvery@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c

index 5ef0f994b0bb32a83caa6f9e04cba19172305f09..f8aadc3c2124d01ca512f90ec1922c47497bc302 100644 (file)
@@ -671,7 +671,7 @@ static inline void intel_ring_emit_wa(struct intel_engine_cs *ring,
        intel_ring_emit(ring, value);
 
        dev_priv->intel_wa_regs[dev_priv->num_wa_regs].addr = addr;
-       dev_priv->intel_wa_regs[dev_priv->num_wa_regs].mask = (value) & 0xFFFF;
+       dev_priv->intel_wa_regs[dev_priv->num_wa_regs].mask = value & 0xFFFF;
        /* value is updated with the status of remaining bits of this
         * register when it is read from debugfs file
         */