Skip to content

Commit 41b611d

Browse files
committed
drm/i915/irq: drop unused but set variable tmp
Prepare for re-enabling -Wunused-but-set-variable. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Jouni Högander <jouni.hogander@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/6c529e8721d56b0148a3a84fb2d396d4485e09a2.1685119007.git.jani.nikula@intel.com
1 parent 1176a90 commit 41b611d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/gpu/drm/i915/display/intel_display_irq.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ static void gen11_dsi_te_interrupt_handler(struct drm_i915_private *dev_priv,
873873
enum pipe pipe = INVALID_PIPE;
874874
enum transcoder dsi_trans;
875875
enum port port;
876-
u32 val, tmp;
876+
u32 val;
877877

878878
/*
879879
* 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,
920920

921921
/* clear TE in dsi IIR */
922922
port = (te_trigger & DSI1_TE) ? PORT_B : PORT_A;
923-
tmp = intel_uncore_rmw(&dev_priv->uncore, DSI_INTR_IDENT_REG(port), 0, 0);
923+
intel_uncore_rmw(&dev_priv->uncore, DSI_INTR_IDENT_REG(port), 0, 0);
924924
}
925925

926926
static u32 gen8_de_pipe_flip_done_mask(struct drm_i915_private *i915)

0 commit comments

Comments
 (0)