diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-04-14 07:36:24 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-05-29 04:01:01 -0400 |
commit | 01f66d2ccf83ee3ddc8276346f4e1113b9de50d9 (patch) | |
tree | b9eb7ac53edf53d37711ee0aa70e85bfadce6355 /sound/pci/hda | |
parent | 4a3fdf3dba80f332e6233e72bdbccdc6031fc92e (diff) |
[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.c | 4 |
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 | |||
1449 | snd_assert(info->nid, return -EINVAL); | 1449 | snd_assert(info->nid, return -EINVAL); |
1450 | info->ops.prepare = hda_pcm_default_prepare; | 1450 | info->ops.prepare = hda_pcm_default_prepare; |
1451 | } | 1451 | } |
1452 | if (info->ops.prepare == NULL) { | ||
1453 | snd_assert(info->nid, return -EINVAL); | ||
1454 | info->ops.prepare = hda_pcm_default_prepare; | ||
1455 | } | ||
1456 | if (info->ops.cleanup == NULL) { | 1452 | if (info->ops.cleanup == NULL) { |
1457 | snd_assert(info->nid, return -EINVAL); | 1453 | snd_assert(info->nid, return -EINVAL); |
1458 | info->ops.cleanup = hda_pcm_default_cleanup; | 1454 | info->ops.cleanup = hda_pcm_default_cleanup; |