Skip to content

Commit c7d3062

Browse files
committed
drm/vc4: hdmi: Remove unused struct
Commit 91e99e1 ("drm/vc4: hdmi: Register HDMI codec") removed the references to the vc4_hdmi_audio_component_drv structure, but not the structure itself resulting in a warning. Remove it. Fixes: 91e99e1 ("drm/vc4: hdmi: Register HDMI codec") Reported-by: kernel test robot <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Reviewed-by: Dave Stevenson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent f143778 commit c7d3062

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

drivers/gpu/drm/vc4/vc4_hdmi.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1411,18 +1411,6 @@ static const struct snd_soc_dapm_route vc4_hdmi_audio_routes[] = {
14111411
{ "TX", NULL, "Playback" },
14121412
};
14131413

1414-
static const struct snd_soc_component_driver vc4_hdmi_audio_component_drv = {
1415-
.name = "vc4-hdmi-codec-dai-component",
1416-
.dapm_widgets = vc4_hdmi_audio_widgets,
1417-
.num_dapm_widgets = ARRAY_SIZE(vc4_hdmi_audio_widgets),
1418-
.dapm_routes = vc4_hdmi_audio_routes,
1419-
.num_dapm_routes = ARRAY_SIZE(vc4_hdmi_audio_routes),
1420-
.idle_bias_on = 1,
1421-
.use_pmdown_time = 1,
1422-
.endianness = 1,
1423-
.non_legacy_dai_naming = 1,
1424-
};
1425-
14261414
static const struct snd_soc_component_driver vc4_hdmi_audio_cpu_dai_comp = {
14271415
.name = "vc4-hdmi-cpu-dai-component",
14281416
};

0 commit comments

Comments
 (0)