]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amd/display: Fix Compiler Warning - unused func parameters
authorGaghik Khachatrian <gaghik.khachatrian@amd.com>
Wed, 11 Mar 2026 17:23:52 +0000 (13:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 30 Mar 2026 18:39:42 +0000 (14:39 -0400)
Handling unused function parameter due to cause compiler warning

Reviewed-by: Clayton King <clayton.king@amd.com>
Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Gaghik Khachatrian <gaghik.khachatrian@amd.com>
Signed-off-by: Chuanyu Tseng <chuanyu.tseng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c

index 7dac3f35f0e8f4d85804a651dadc35d80fca5820..8bbf71a8c7a8c00deeca9dfcc31c9798fc3b7785 100644 (file)
@@ -3141,6 +3141,9 @@ static struct surface_update_descriptor check_update_state_and_surfaces_for_stre
                const int surface_count,
                const struct dc_stream_update *stream_update)
 {
+       (void)check_config;
+       (void)stream_update;
+
        const struct dc_state *context = dc->current_state;
 
        struct surface_update_descriptor overall_type = { UPDATE_TYPE_ADDR_ONLY, LOCK_DESCRIPTOR_NONE};