Message ID | 20240823003515.57035-1-yang.lee@linux.alibaba.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [-next] drm/amd/display: Remove unnecessary semicolon after switch statement | expand |
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; - }; + } }
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(-)