[alsa-devel] [PATCH RFC 01/10] ALSA: usb-audio: remove disabled debug code in set_format

Eldad Zack eldad at fogrefinery.com
Fri Jul 19 20:23:21 CEST 2013


Code block does not compile when enabled.

Signed-off-by: Eldad Zack <eldad at fogrefinery.com>
---
 sound/usb/pcm.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/sound/usb/pcm.c b/sound/usb/pcm.c
index 15b151e..3d3e8d1 100644
--- a/sound/usb/pcm.c
+++ b/sound/usb/pcm.c
@@ -486,15 +486,6 @@ add_sync_ep:
 
 	snd_usb_set_format_quirk(subs, fmt);
 
-#if 0
-	printk(KERN_DEBUG
-	       "setting done: format = %d, rate = %d..%d, channels = %d\n",
-	       fmt->format, fmt->rate_min, fmt->rate_max, fmt->channels);
-	printk(KERN_DEBUG
-	       "  datapipe = 0x%0x, syncpipe = 0x%0x\n",
-	       subs->datapipe, subs->syncpipe);
-#endif
-
 	return 0;
 }
 
-- 
1.8.1.5



More information about the Alsa-devel mailing list