From: Lee Jones Date: Fri, 8 Jan 2021 20:14:49 +0000 (+0000) Subject: drm/amd/display/dc/dce/dce_aux: Remove unused function 'get_engine_type' X-Git-Tag: accepted/tizen/unified/20230118.172025~7733^2~17^2~132 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=19ee917ad3540d394846ae125a4e9de5926e7952;p=platform%2Fkernel%2Flinux-rpi.git drm/amd/display/dc/dce/dce_aux: Remove unused function 'get_engine_type' Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.c:391:25: warning: no previous prototype for ‘get_engine_type’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c b/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c index cda5fd0..3204292 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c @@ -388,12 +388,6 @@ static enum aux_channel_operation_result get_channel_status( } } -enum i2caux_engine_type get_engine_type( - const struct dce_aux *engine) -{ - return I2CAUX_ENGINE_TYPE_AUX; -} - static bool acquire( struct dce_aux *engine, struct ddc *ddc)