Skip to content

Commit

Permalink
drm: amd: Fix trailing semicolons
Browse files Browse the repository at this point in the history
The trailing semicolon is an empty statement that does no operation.
Removing the two instances of them since they don't do anything.

Signed-off-by: Luis de Bethencourt <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
  • Loading branch information
luisbg authored and alexdeucher committed Feb 19, 2018
1 parent 3fa203a commit 122fe39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ static enum link_training_result perform_channel_equalization_sequence(
uint32_t retries_ch_eq;
enum dc_lane_count lane_count = lt_settings->link_settings.lane_count;
union lane_align_status_updated dpcd_lane_status_updated = {{0}};
union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX] = {{{0}}};;
union lane_status dpcd_lane_status[LANE_COUNT_DP_MAX] = {{{0}}};

hw_tr_pattern = get_supported_tp(link);

Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/powerplay/amd_powerplay.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ static int pp_hw_init(void *handle)
if(hwmgr->smumgr_funcs->start_smu(pp_handle->hwmgr)) {
pr_err("smc start failed\n");
hwmgr->smumgr_funcs->smu_fini(pp_handle->hwmgr);
return -EINVAL;;
return -EINVAL;
}
if (ret == PP_DPM_DISABLED)
goto exit;
Expand Down

0 comments on commit 122fe39

Please sign in to comment.