aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWenjing Liu <[email protected]>2024-06-14 11:01:59 -0400
committerAlex Deucher <[email protected]>2024-06-27 17:10:38 -0400
commit4b22869f76563ce1e10858d2ae3305affa8d4a6a (patch)
tree1dacea2e0f1bed8f0afb4954f211d54d31acc49e /tools/perf/scripts/python
parent0b8de7a04f7c14abd28bd8b9f3e1e5737a3702e2 (diff)
drm/amd/display: Remove a redundant check in authenticated_dp
[WHY] mod_hdcp_execute_and_set returns (*status == MOD_HDCP_STATUS_SUCCESS). When it return 0, it is guaranteed that status == MOD_HDCP_STATUS_SUCCESS will be evaluated as false. Since now we are using goto out already, all 3 if (status == MOD_HDCP_STATUS_SUCCESS) clauses are guaranteed to enter. Therefore we are removing the if statements due to redundancy. Reviewed-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alex Hung <[email protected]> Signed-off-by: Wenjing Liu <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions