drm: amd: Fix trailing semicolons
Subsystems (3)
PATCH 1/1 drm: amd: Fix trailing semicolons
The trailing semicolon is an empty statement that does no operation. Removing the two instances of them since they don't do anything.
---
Hi,
After fixing the same thing in drivers/staging/rtl8723bs/, Joe Perches suggested I fix it treewide [0].
Best regards
Luis
[0] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115410.html
[1] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115390.html
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 2 +- drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +1 -1
@@ -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);
drivers/gpu/drm/amd/powerplay/amd_powerplay.c +1 -1
@@ -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;
Signature · 1 line
2.15.1
Alex Deucher
AppliedQuoted 4 lines · Luis de Bethencourt
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]>
Applied. thanks!
Alex
Quoted 47 lines
---
Hi,
After fixing the same thing in
drivers/staging/rtl8723bs/, Joe Perches suggested I fix it treewide [0].Best regards
Luis[0] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115410.html
[1] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115390.htmldrivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 2 +- drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +1
-1@@ -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);drivers/gpu/drm/amd/powerplay/amd_powerplay.c +1
-2@@ -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; --2.15.1
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx