drm/amdgpu: remove misleading amdgpu_pmops_runtime_idle() comment
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 29 Feb 2024 18:11:06 +0000 (12:11 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Mar 2024 01:35:39 +0000 (20:35 -0500)
commitb07395d5d5e74e3a7e2e436fc0eced2b0f332074
tree61aac4325d2f20a0bab48b5fe0149f0f8787e477
parent3c591faadd8a94f68110e090bc294b1a338143b8
drm/amdgpu: remove misleading amdgpu_pmops_runtime_idle() comment

After 4020c2280233 ("drm/amdgpu: don't runtime suspend if there are
displays attached (v3)"), "ret" is unconditionally set later before being
used, so there's point in initializing it and the associated comment is no
longer meaningful.

Remove the comment and the unnecessary initialization.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c