diff options
author | Aditya Pakki <pakki001@umn.edu> | 2019-03-22 23:00:29 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-03-25 13:11:25 +0100 |
commit | 78540a259b050480d20354efaf1055c233728b3b (patch) | |
tree | 2aa1a63b02be7e31cc92d4fd4ffd600d81c18136 /sound/soc/codecs/sirf-audio-codec.c | |
parent | ASoC: stm32: sai: add power management (diff) | |
download | linux-78540a259b050480d20354efaf1055c233728b3b.tar.xz linux-78540a259b050480d20354efaf1055c233728b3b.zip |
ASoC: sirf-audio: Remove redundant of_match_node call
Unlike other drivers probe method, of_match_node return value
is not used or checked. This patch removes the redundant code.
Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/sirf-audio-codec.c')
-rw-r--r-- | sound/soc/codecs/sirf-audio-codec.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/codecs/sirf-audio-codec.c b/sound/soc/codecs/sirf-audio-codec.c index e424499a8450..e0af21050078 100644 --- a/sound/soc/codecs/sirf-audio-codec.c +++ b/sound/soc/codecs/sirf-audio-codec.c @@ -461,9 +461,6 @@ static int sirf_audio_codec_driver_probe(struct platform_device *pdev) struct sirf_audio_codec *sirf_audio_codec; void __iomem *base; struct resource *mem_res; - const struct of_device_id *match; - - match = of_match_node(sirf_audio_codec_of_match, pdev->dev.of_node); sirf_audio_codec = devm_kzalloc(&pdev->dev, sizeof(struct sirf_audio_codec), GFP_KERNEL); |