diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2021-04-15 16:45:25 +0800 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2021-04-21 10:10:47 +0200 |
commit | ffe8768fb8f391cb478466778c55e2110525c15c (patch) | |
tree | e85f90e8980c2145c2acb298fd6b93112f7a239b | |
parent | f7c475b8dfc23d461a47dfac5e498f8cc96faea5 (diff) |
drm/vc4: remove unused function
Fix the following clang warning:
drivers/gpu/drm/vc4/vc4_vec.c:201:1: warning: unused function
'to_vc4_vec_connector' [-Wunused-function].
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/1618476325-112629-1-git-send-email-jiapeng.chong@linux.alibaba.com
-rw-r--r-- | drivers/gpu/drm/vc4/vc4_vec.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/vc4/vc4_vec.c b/drivers/gpu/drm/vc4/vc4_vec.c index bd5b8eb58b18..090529d0d5dc 100644 --- a/drivers/gpu/drm/vc4/vc4_vec.c +++ b/drivers/gpu/drm/vc4/vc4_vec.c @@ -197,12 +197,6 @@ struct vc4_vec_connector { struct drm_encoder *encoder; }; -static inline struct vc4_vec_connector * -to_vc4_vec_connector(struct drm_connector *connector) -{ - return container_of(connector, struct vc4_vec_connector, base); -} - enum vc4_vec_tv_mode_id { VC4_VEC_TV_MODE_NTSC, VC4_VEC_TV_MODE_NTSC_J, |