drm/amd/display: remove unnecessary braces to fix coding style
authorRutingZhang <u202112078@hust.edu.cn>
Tue, 21 Nov 2023 04:36:20 +0000 (12:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 Nov 2023 21:49:22 +0000 (16:49 -0500)
commitbcdbd6f607bacb51743ac73f13f40d015cb9de53
tree6e3c94e8f308b12533cdb49f25086431be60e186
parent01a1526ac4c8d9342d3d8b703751f3fc5ce487ba
drm/amd/display: remove unnecessary braces to fix coding style

checkpatch complains that:

WARNING: braces {} are not necessary for single statement blocks
+                if (pool->base.irqs != NULL) {
+                        dal_irq_service_destroy(&pool->base.irqs);
+                }

Fixed it by removing unnecessary braces to fix the coding style issue.

Signed-off-by: RutingZhang <u202112078@hust.edu.cn>
Reviewed-by: Dongliang Mu <dzm91@hust.edu.cn>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/resource/dcn21/dcn21_resource.c