aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/soc-core.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index db76c189b10..62eda261155 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1408,9 +1408,6 @@ int snd_soc_init_card(struct snd_soc_device *socdev)
soc_init_codec_debugfs(socdev->codec);
mutex_unlock(&codec->mutex);
- err = device_create_file(socdev->dev, &dev_attr_codec_reg_write);
- if (err < 0)
- printk(KERN_WARNING "asoc: failed to add codec sysfs entries\n");
out:
return ret;
}