Commit b07395d
drm/amdgpu: remove misleading amdgpu_pmops_runtime_idle() comment
After 4020c22 ("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>1 parent 3c591fa commit b07395d
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2791 | 2791 | | |
2792 | 2792 | | |
2793 | 2793 | | |
2794 | | - | |
2795 | | - | |
| 2794 | + | |
2796 | 2795 | | |
2797 | 2796 | | |
2798 | 2797 | | |
| |||
0 commit comments