提交 01f66d2c 编写于 作者: T Takashi Iwai 提交者: Jaroslav Kysela

[ALSA] Remove dead code

HDA Codec driver
Removed the dead (duplicated) code.
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 4a3fdf3d
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册