diff options
author | Joe Perches <joe@perches.com> | 2014-04-04 09:09:08 -0700 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-04-04 18:20:10 +0200 |
commit | 3af5d0524aac70a6df638d6558f4b60dbf0216e7 (patch) | |
tree | 9979437b11678a58498634e1400cf15a4c7cef56 /sound/oss/uart401.c | |
parent | 6ea0cae73d3b5ee963bea9348220b61fd8960743 (diff) | |
download | linux-3af5d0524aac70a6df638d6558f4b60dbf0216e7.tar.gz linux-3af5d0524aac70a6df638d6558f4b60dbf0216e7.tar.bz2 linux-3af5d0524aac70a6df638d6558f4b60dbf0216e7.zip |
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.c | 11 |
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; } |