mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-27 01:11:31 +00:00
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:
parent
1c164f7082
commit
630cb40ffd
1 changed files with 2 additions and 4 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue