Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01f66d2c authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela
Browse files

[ALSA] Remove dead code



HDA Codec driver
Removed the dead (duplicated) code.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 4a3fdf3d
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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;