diff options
author | Tom Rix <trix@redhat.com> | 2023-03-18 03:23:21 +0300 |
---|---|---|
committer | Robert Foss <rfoss@kernel.org> | 2023-03-20 12:48:25 +0300 |
commit | 5327469ec4c07977e1d824badadd2628fcd04e85 (patch) | |
tree | 9979c83b1d5272e2fb974df92efa28339afe87a8 /drivers/gpu/drm/bridge/sii9234.c | |
parent | 3cf15dc2f81f765078ca867eaf42400f26b2052c (diff) | |
download | linux-5327469ec4c07977e1d824badadd2628fcd04e85.tar.xz |
gpu: drm: bridge: sii9234: remove unused bridge_to_sii9234 function
clang with W=1 reports
drivers/gpu/drm/bridge/sii9234.c:870:31: error:
unused function 'bridge_to_sii9234' [-Werror,-Wunused-function]
static inline struct sii9234 *bridge_to_sii9234(struct drm_bridge *bridge)
^
This static function is not used, so remove it.
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230318002321.1675181-1-trix@redhat.com
Diffstat (limited to 'drivers/gpu/drm/bridge/sii9234.c')
-rw-r--r-- | drivers/gpu/drm/bridge/sii9234.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/bridge/sii9234.c b/drivers/gpu/drm/bridge/sii9234.c index 099b510ff285..2d17f227867b 100644 --- a/drivers/gpu/drm/bridge/sii9234.c +++ b/drivers/gpu/drm/bridge/sii9234.c @@ -867,11 +867,6 @@ static int sii9234_init_resources(struct sii9234 *ctx, return 0; } -static inline struct sii9234 *bridge_to_sii9234(struct drm_bridge *bridge) -{ - return container_of(bridge, struct sii9234, bridge); -} - static enum drm_mode_status sii9234_mode_valid(struct drm_bridge *bridge, const struct drm_display_info *info, const struct drm_display_mode *mode) |