[Intel-gfx] [PATCH v2 03/11] drm/i915: Drop redundant parens

Karthik B S karthik.b.s at intel.com
Fri Jan 15 10:19:22 UTC 2021


On 1/11/2021 10:07 PM, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> Drop the pointless extra parens.
>
> Cc: Karthik B S <karthik.b.s at intel.com>
> Cc: Vandita Kulkarni <vandita.kulkarni at intel.com>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Reviewed-by: Karthik B S <karthik.b.s at intel.com>
> ---
>   drivers/gpu/drm/i915/i915_irq.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
> index dd1971040bbc..4484609d870d 100644
> --- a/drivers/gpu/drm/i915/i915_irq.c
> +++ b/drivers/gpu/drm/i915/i915_irq.c
> @@ -2079,7 +2079,7 @@ static void ivb_display_irq_handler(struct drm_i915_private *dev_priv,
>   		intel_opregion_asle_intr(dev_priv);
>   
>   	for_each_pipe(dev_priv, pipe) {
> -		if (de_iir & (DE_PIPE_VBLANK_IVB(pipe)))
> +		if (de_iir & DE_PIPE_VBLANK_IVB(pipe))
>   			intel_handle_vblank(dev_priv, pipe);
>   	}
>   




More information about the Intel-gfx mailing list