diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-12-12 21:53:57 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-12-26 00:32:46 +0100 |
commit | 7de12b06eeb2fbe3732e96ae40e38159700f61ec (patch) | |
tree | a1a1598e84220db2c83beaf439c3493650ef2470 | |
parent | ASoC: 88pm860x: Drop empty platform remove function (diff) | |
download | linux-7de12b06eeb2fbe3732e96ae40e38159700f61ec.tar.xz linux-7de12b06eeb2fbe3732e96ae40e38159700f61ec.zip |
ASoC: ac97: Drop empty platform remove function
A remove callback just returning 0 is equivalent to no remove callback
at all. So drop the useless function.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20221212205406.3771071-7-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/codecs/ac97.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/soc/codecs/ac97.c b/sound/soc/codecs/ac97.c index cc12052e1920..0e013edfe63d 100644 --- a/sound/soc/codecs/ac97.c +++ b/sound/soc/codecs/ac97.c @@ -127,18 +127,12 @@ static int ac97_probe(struct platform_device *pdev) &soc_component_dev_ac97, &ac97_dai, 1); } -static int ac97_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver ac97_codec_driver = { .driver = { .name = "ac97-codec", }, .probe = ac97_probe, - .remove = ac97_remove, }; module_platform_driver(ac97_codec_driver); |