summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-04-14 13:36:24 +0200
committerJaroslav Kysela <perex@suse.cz>2005-05-29 10:01:01 +0200
commit01f66d2ccf83ee3ddc8276346f4e1113b9de50d9 (patch)
treeb9eb7ac53edf53d37711ee0aa70e85bfadce6355 /sound/pci/hda
parent4a3fdf3dba80f332e6233e72bdbccdc6031fc92e (diff)
downloadblackbird-obmc-linux-01f66d2ccf83ee3ddc8276346f4e1113b9de50d9.tar.gz
blackbird-obmc-linux-01f66d2ccf83ee3ddc8276346f4e1113b9de50d9.zip
[ALSA] Remove dead code
HDA Codec driver Removed the dead (duplicated) code. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r--sound/pci/hda/hda_codec.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index be6cba349394..890b7566154a 100644
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -1449,10 +1449,6 @@ static int set_pcm_default_values(struct hda_codec *codec, struct hda_pcm_stream
snd_assert(info->nid, return -EINVAL);
info->ops.prepare = hda_pcm_default_prepare;
}
- if (info->ops.prepare == NULL) {
- snd_assert(info->nid, return -EINVAL);
- info->ops.prepare = hda_pcm_default_prepare;
- }
if (info->ops.cleanup == NULL) {
snd_assert(info->nid, return -EINVAL);
info->ops.cleanup = hda_pcm_default_cleanup;
OpenPOWER on IntegriCloud