Skip to content

Commit 28876c1

Browse files
rfvirgilbroonie
authored andcommitted
ALSA: hda: cs35l56: Remove unused test stub function
Remove an unused stub function that calls a non-existant function. This function was accidentally added as part of commit 2144833 ("ALSA: hda: cirrus_scodec: Add KUnit test"). It was a relic of an earlier version of the test that should have been removed. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Fixes: 2144833 ("ALSA: hda: cirrus_scodec: Add KUnit test") Link: https://msgid.link/r/20240129162737.497-19-rf@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 6f8ad04 commit 28876c1

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

sound/pci/hda/cs35l56_hda.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,16 +1063,6 @@ const struct dev_pm_ops cs35l56_hda_pm_ops = {
10631063
};
10641064
EXPORT_SYMBOL_NS_GPL(cs35l56_hda_pm_ops, SND_HDA_SCODEC_CS35L56);
10651065

1066-
#if IS_ENABLED(CONFIG_SND_HDA_SCODEC_CS35L56_KUNIT_TEST)
1067-
/* Hooks to export static function to KUnit test */
1068-
1069-
int cs35l56_hda_test_hook_get_speaker_id(struct device *dev, int amp_index, int num_amps)
1070-
{
1071-
return cs35l56_hda_get_speaker_id(dev, amp_index, num_amps);
1072-
}
1073-
EXPORT_SYMBOL_NS_GPL(cs35l56_hda_test_hook_get_speaker_id, SND_HDA_SCODEC_CS35L56);
1074-
#endif
1075-
10761066
MODULE_DESCRIPTION("CS35L56 HDA Driver");
10771067
MODULE_IMPORT_NS(SND_HDA_CIRRUS_SCODEC);
10781068
MODULE_IMPORT_NS(SND_HDA_CS_DSP_CONTROLS);

0 commit comments

Comments
 (0)