drm/i915/tc: Remove redundant wakeref=0 check from unblock_tc_cold()
authorImre Deak <imre.deak@intel.com>
Thu, 23 Mar 2023 14:20:23 +0000 (16:20 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 3 Apr 2023 08:35:31 +0000 (11:35 +0300)
commit430ce0c7d3a3b2cdfdafb527d2f89be4267ac45c
tree3e95edf5a6eedb0789e416de5661c9bf4899486e
parent976a368b7198bf666ad3d273e10ed82b3713af3b
drm/i915/tc: Remove redundant wakeref=0 check from unblock_tc_cold()

After the previous patch unblock_tc_cold() will not be called in a
disconnected mode, so the wakeref passed to it will be always non-zero.
Remove the redundant check.

Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230323142035.1432621-18-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_tc.c