summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include/atom-bits.h
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-08-05 11:29:40 +0100
committerAlex Deucher <alexander.deucher@amd.com>2019-08-12 12:47:49 -0500
commit8b94d0517902d179879fdb8a96edc5c0ab2e7c62 (patch)
tree472a532748550f59a32efb1efa3929351e10e210 /drivers/gpu/drm/amd/include/atom-bits.h
parent54a9bcb0a4ff6ee401955a1e2e657b97b9391eb7 (diff)
downloadlinux-8b94d0517902d179879fdb8a96edc5c0ab2e7c62.tar.bz2
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>
Diffstat (limited to 'drivers/gpu/drm/amd/include/atom-bits.h')
0 files changed, 0 insertions, 0 deletions