From: Rodrigo Siqueira Date: Thu, 15 Jun 2023 16:53:39 +0000 (-0600) Subject: drm/amd/display: Remove unused function X-Git-Tag: ceph-for-6.6-rc4~181^2~18^2~121 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=c324065cd4940145154568e264201d42ed343b40;p=ceph-client.git drm/amd/display: Remove unused function The get_engine_type is never used in the code, for this reason, this commit drops this function. Reviewed-by: Hamza Mahfooz Acked-by: Alan Liu Signed-off-by: Rodrigo Siqueira Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/aux_engine.h b/drivers/gpu/drm/amd/display/dc/inc/hw/aux_engine.h index 7254182b7c721..af6b9509d09d3 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/aux_engine.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/aux_engine.h @@ -172,8 +172,6 @@ struct aux_engine_funcs { struct aux_engine *engine, uint8_t *returned_bytes); bool (*is_engine_available)(struct aux_engine *engine); - enum i2caux_engine_type (*get_engine_type)( - const struct aux_engine *engine); bool (*acquire)( struct aux_engine *engine, struct ddc *ddc);