From: Ville Syrjälä Date: Mon, 22 Apr 2024 08:34:44 +0000 (+0300) Subject: drm/i915/dpio: Remove pointless VLV_PCS01_DW8 read X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6e5c5d1ff9750c07a0301c476e519dbda1d65230;p=linux.git drm/i915/dpio: Remove pointless VLV_PCS01_DW8 read We don't use the result of the VLV_PCS01_DW8 read at all, so don't read. Signed-off-by: Ville Syrjälä Link: https://patchwork.freedesktop.org/patch/msgid/20240422083457.23815-2-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula --- diff --git a/drivers/gpu/drm/i915/display/intel_dpio_phy.c b/drivers/gpu/drm/i915/display/intel_dpio_phy.c index c72b76b61dff8..6cbee88e608fb 100644 --- a/drivers/gpu/drm/i915/display/intel_dpio_phy.c +++ b/drivers/gpu/drm/i915/display/intel_dpio_phy.c @@ -1134,7 +1134,6 @@ void vlv_phy_pre_encoder_enable(struct intel_encoder *encoder, vlv_dpio_get(dev_priv); /* Enable clock channels for this port */ - val = vlv_dpio_read(dev_priv, phy, VLV_PCS01_DW8(port)); val = 0; if (pipe) val |= (1<<21);