drm/amd/display: Remove some extra braces

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>
This commit is contained in:
Dmytro Laktyushkin 2018-11-19 17:02:39 -05:00 committed by Alex Deucher
parent 1c164f7082
commit 630cb40ffd
1 changed files with 2 additions and 4 deletions

View 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(