[PATCH -next] drm/amd/display: Remove unnecessary semicolon after switch statement
Yang Li
yang.lee at linux.alibaba.com
Fri Aug 23 00:35:15 UTC 2024
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 at linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9804
Signed-off-by: Yang Li <yang.lee at 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
More information about the amd-gfx
mailing list