commit | 8b94d0517902d179879fdb8a96edc5c0ab2e7c62 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Mon Aug 05 11:29:40 2019 +0100 |
committer | Alex Deucher <alexander.deucher@amd.com> | Mon Aug 12 12:47:49 2019 -0500 |
tree | 472a532748550f59a32efb1efa3929351e10e210 | |
parent | 54a9bcb0a4ff6ee401955a1e2e657b97b9391eb7 [diff] |
drm/amd/powerplay: remove redundant duplicated return check The check on ret is duplicated in two places, it is redundant code. Remove it. Addresses-Coverity: ("Logically dead code") Fixes: b94afb61cdae ("drm/amd/powerplay: honor hw limit on fetching metrics data for navi10") Reviewed-by: Evan Quan <evan.quan@amd.com> Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>