<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">---------------------
PatchSet 3122 
Date: 2005/04/14 13:36:24
Author: tiwai
Branch: HEAD
Tag: (none) 
Log:
Summary: Remove dead code

Removed the dead (duplicated) code.

Members: 
	pci/hda/hda_codec.c:1.10-&gt;1.11 

Index: /sound/pci/hda/hda_codec.c
diff -u /sound/pci/hda/hda_codec.c.old /sound/pci/hda/hda_codec.c
--- /sound/pci/hda/hda_codec.c.old	Wed Apr 13 06:45:31 2005
+++ /sound/pci/hda/hda_codec.c	Thu Apr 14 05:36:24 2005
@@ -1449,10 +1449,6 @@
 		snd_assert(info-&gt;nid, return -EINVAL);
 		info-&gt;ops.prepare = hda_pcm_default_prepare;
 	}
-	if (info-&gt;ops.prepare == NULL) {
-		snd_assert(info-&gt;nid, return -EINVAL);
-		info-&gt;ops.prepare = hda_pcm_default_prepare;
-	}
 	if (info-&gt;ops.cleanup == NULL) {
 		snd_assert(info-&gt;nid, return -EINVAL);
 		info-&gt;ops.cleanup = hda_pcm_default_cleanup;
</pre></body></html>