Skip to content

Commit 7d8a7ec

Browse files
juhapekkamkahola
authored andcommitted
drm/i915/display: take out dead code
if __waitfor timeout, ret will have -ETIMEDOUT. Then if condition was met, and read_ret will have error that's handled. Then if ret was zero, read_ret was zero ksv_ready must have value. Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Mika Kahola <mika.kahola@intel.com> Link: https://lore.kernel.org/r/20250905104626.1274147-1-juhapekka.heikkila@gmail.com
1 parent 0d4a57f commit 7d8a7ec

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,6 @@ static int intel_hdcp_poll_ksv_fifo(struct intel_digital_port *dig_port,
334334
return ret;
335335
if (read_ret)
336336
return read_ret;
337-
if (!ksv_ready)
338-
return -ETIMEDOUT;
339337

340338
return 0;
341339
}

0 commit comments

Comments
 (0)