projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a3fdf3
)
[ALSA] Remove dead code
author
Takashi Iwai
<tiwai@suse.de>
Thu, 14 Apr 2005 11:36:24 +0000
(13:36 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Sun, 29 May 2005 08:01:01 +0000
(10:01 +0200)
HDA Codec driver
Removed the dead (duplicated) code.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/hda_codec.c
b/sound/pci/hda/hda_codec.c
index be6cba3493943ba5f6d0f2e4e0b0c8613ba03c85..890b7566154a2c20063bebbc5a7418182ac88b05 100644
(file)
--- 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;