* [PATCH -next] drm/amd/display: Remove unnecessary semicolon after switch statement
@ 2024-08-23 0:35 Yang Li
0 siblings, 0 replies; only message in thread
From: Yang Li @ 2024-08-23 0:35 UTC (permalink / raw)
To: airlied, daniel, alexander.deucher
Cc: amd-gfx, dri-devel, linux-kernel, Yang Li, Abaci Robot
This commit removes the unnecessary semicolon (`;`) following the
closing brace of the switch statement in the function
'dml2_core_utils_get_tile_block_size_bytes'.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9804
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
.../amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_utils.c b/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_utils.c
index ab229e1598ae..695fe99e44d2 100644
--- a/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_utils.c
+++ b/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_utils.c
@@ -310,7 +310,7 @@ unsigned int dml2_core_utils_get_tile_block_size_bytes(enum dml2_swizzle_mode sw
default:
DML2_ASSERT(0);
return 256;
- };
+ }
}
--
2.32.0.3.g01195cf9f
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-08-23 0:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-23 0:35 [PATCH -next] drm/amd/display: Remove unnecessary semicolon after switch statement Yang Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox