From: Dr. David Alan Gilbert Date: Mon, 20 May 2024 12:55:51 +0000 (+0100) Subject: drm/bridge: analogix: remove unused struct 'bridge_init' X-Git-Tag: v6.12-rc1~126^2~24^2~94 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0c977ff2b807aa53f655f095b0a306f18d8cf7be;p=thirdparty%2Fkernel%2Flinux.git drm/bridge: analogix: remove unused struct 'bridge_init' commit 6a1688ae8794 ("drm/bridge: ptn3460: Convert to I2C driver model") has dropped all the users of the struct bridge_init from the exynos_dp_core, while retaining unused structure definition. Later on the driver was reworked and the definition migrated to the analogix_dp driver. Remove unused struct bridge_init definition. Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Dmitry Baryshkov Link: https://patchwork.freedesktop.org/patch/msgid/20240520125551.11534-1-linux@treblig.org Signed-off-by: Dmitry Baryshkov --- diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c index ddf1e4424ffd5..bfa88409a7ff0 100644 --- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c +++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c @@ -36,11 +36,6 @@ static const bool verify_fast_training; -struct bridge_init { - struct i2c_client *client; - struct device_node *node; -}; - static void analogix_dp_init_dp(struct analogix_dp_device *dp) { analogix_dp_reset(dp);