summaryrefslogtreecommitdiff
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-05-06 11:39:39 +0400
committerMark Brown <broonie@linaro.org>2014-05-07 13:21:26 +0400
commitdb88a8e3ca38b840c768e65a3ddb952cf1bf258f (patch)
treeaa535de929adf489177ea085645d56fc0f26836b /sound/soc/soc-core.c
parentaf0881ffbd7bfc825c2871c79798d66e3608a50c (diff)
downloadlinux-db88a8e3ca38b840c768e65a3ddb952cf1bf258f.tar.xz
ASoC: Remove unused num_dai field from CODEC
Commit d191bd8de8 ("ASoC: snd_soc_codec includes snd_soc_component") removed the last user of the num_dai field. Also remove the field itself. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r--sound/soc/soc-core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 0a2c0720fc2d..a675eec64756 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -4277,7 +4277,6 @@ int snd_soc_register_codec(struct device *dev,
codec->dapm.stream_event = codec_drv->stream_event;
codec->dev = dev;
codec->driver = codec_drv;
- codec->num_dai = num_dai;
codec->component.val_bytes = codec_drv->reg_word_size;
mutex_init(&codec->mutex);