[PATCH 01/17] drm/amd/display: Remove break after return
Hamza Mahfooz
hamza.mahfooz at amd.com
Wed Feb 14 18:47:47 UTC 2024
On 2/14/24 13:38, Rodrigo Siqueira wrote:
> Remove break after return since it will never be reached.
>
> Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira at amd.com>
Reviewed-by: Hamza Mahfooz <hamza.mahfooz at amd.com>
> ---
> drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c b/drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c
> index 28a2a837d2f0..86ee4fe4f5e3 100644
> --- a/drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c
> +++ b/drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c
> @@ -340,7 +340,6 @@ struct clk_mgr *dc_clk_mgr_create(struct dc_context *ctx, struct pp_smu_funcs *p
>
> dcn32_clk_mgr_construct(ctx, clk_mgr, pp_smu, dccg);
> return &clk_mgr->base;
> - break;
> }
>
> case AMDGPU_FAMILY_GC_11_0_1: {
--
Hamza
More information about the amd-gfx
mailing list