]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/amd/display: Remove some extra braces
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Mon, 19 Nov 2018 22:02:39 +0000 (17:02 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Jan 2019 20:04:33 +0000 (15:04 -0500)
Remove braces around single-line conditionals

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Eric Bernstein <Eric.Bernstein@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Acked-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c

index f001eddd4180e59e51cf9301f2df7718a76238a7..edb382e1eaebd82a3f55762233fe5dfb5fcd0c96 100644 (file)
@@ -2252,13 +2252,11 @@ static void program_all_pipe_in_tree(
 
        }
 
-       if (pipe_ctx->plane_state != NULL) {
+       if (pipe_ctx->plane_state != NULL)
                dcn10_program_pipe(dc, pipe_ctx, context);
-       }
 
-       if (pipe_ctx->bottom_pipe != NULL && pipe_ctx->bottom_pipe != pipe_ctx) {
+       if (pipe_ctx->bottom_pipe != NULL && pipe_ctx->bottom_pipe != pipe_ctx)
                program_all_pipe_in_tree(dc, pipe_ctx->bottom_pipe, context);
-       }
 }
 
 struct pipe_ctx *find_top_pipe_for_stream(