From: Gaghik Khachatrian <[email protected]>

Handling unused function parameter due to cause compiler warning

Reviewed-by: Clayton King <[email protected]>
Reviewed-by: Dillon Varone <[email protected]>
Signed-off-by: Gaghik Khachatrian <[email protected]>
Signed-off-by: Chuanyu Tseng <[email protected]>
---
 drivers/gpu/drm/amd/display/dc/core/dc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c 
b/drivers/gpu/drm/amd/display/dc/core/dc.c
index 8b21816cf7c8..5d27666bbc7f 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
@@ -3142,6 +3142,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};
-- 
2.43.0

Reply via email to