Commit 41b611db authored by Jani Nikula's avatar Jani Nikula

drm/i915/irq: drop unused but set variable tmp

Prepare for re-enabling -Wunused-but-set-variable.
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Reviewed-by: default avatarJouni Högander <jouni.hogander@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/6c529e8721d56b0148a3a84fb2d396d4485e09a2.1685119007.git.jani.nikula@intel.com
parent 1176a905
...@@ -873,7 +873,7 @@ static void gen11_dsi_te_interrupt_handler(struct drm_i915_private *dev_priv, ...@@ -873,7 +873,7 @@ static void gen11_dsi_te_interrupt_handler(struct drm_i915_private *dev_priv,
enum pipe pipe = INVALID_PIPE; enum pipe pipe = INVALID_PIPE;
enum transcoder dsi_trans; enum transcoder dsi_trans;
enum port port; enum port port;
u32 val, tmp; u32 val;
/* /*
* Incase of dual link, TE comes from DSI_1 * Incase of dual link, TE comes from DSI_1
...@@ -920,7 +920,7 @@ static void gen11_dsi_te_interrupt_handler(struct drm_i915_private *dev_priv, ...@@ -920,7 +920,7 @@ static void gen11_dsi_te_interrupt_handler(struct drm_i915_private *dev_priv,
/* clear TE in dsi IIR */ /* clear TE in dsi IIR */
port = (te_trigger & DSI1_TE) ? PORT_B : PORT_A; port = (te_trigger & DSI1_TE) ? PORT_B : PORT_A;
tmp = intel_uncore_rmw(&dev_priv->uncore, DSI_INTR_IDENT_REG(port), 0, 0); intel_uncore_rmw(&dev_priv->uncore, DSI_INTR_IDENT_REG(port), 0, 0);
} }
static u32 gen8_de_pipe_flip_done_mask(struct drm_i915_private *i915) static u32 gen8_de_pipe_flip_done_mask(struct drm_i915_private *i915)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment