summaryrefslogtreecommitdiffstats
path: root/sound/oss/uart401.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-04-04 09:09:08 -0700
committerTakashi Iwai <tiwai@suse.de>2014-04-04 18:20:10 +0200
commit3af5d0524aac70a6df638d6558f4b60dbf0216e7 (patch)
tree9979437b11678a58498634e1400cf15a4c7cef56 /sound/oss/uart401.c
parent6ea0cae73d3b5ee963bea9348220b61fd8960743 (diff)
downloadlinux-3af5d0524aac70a6df638d6558f4b60dbf0216e7.tar.bz2
sound/oss: Remove uncompilable DBG macro use
Most of it duplicates function tracing and one of them has an uncompilable printf %P use. Others have format/argument mismatches. Remove unused DBG1 macro definition Neaten uart401.c use of ok test around this DBG macro removal. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/oss/uart401.c')
-rw-r--r--sound/oss/uart401.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/sound/oss/uart401.c b/sound/oss/uart401.c
index 5433c6f5eca2..62b8869f5a4c 100644
--- a/sound/oss/uart401.c
+++ b/sound/oss/uart401.c
@@ -274,19 +274,12 @@ static int reset_uart401(uart401_devc * devc)
}
}
-
+ /* Flush input before enabling interrupts */
if (ok)
- {
- DEB(printk("Reset UART401 OK\n"));
- }
+ uart401_input_loop(devc);
else
DDB(printk("Reset UART401 failed - No hardware detected.\n"));
- if (ok)
- uart401_input_loop(devc); /*
- * Flush input before enabling interrupts
- */
-
return ok;
}