diff options
author | Joe Perches <joe@perches.com> | 2014-04-04 12:09:08 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-04-04 12:20:10 -0400 |
commit | 3af5d0524aac70a6df638d6558f4b60dbf0216e7 (patch) | |
tree | 9979437b11678a58498634e1400cf15a4c7cef56 /sound/oss/sequencer.c | |
parent | 6ea0cae73d3b5ee963bea9348220b61fd8960743 (diff) |
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/sequencer.c')
-rw-r--r-- | sound/oss/sequencer.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/oss/sequencer.c b/sound/oss/sequencer.c index 9b9f7d385134..c0eea1dfe90f 100644 --- a/sound/oss/sequencer.c +++ b/sound/oss/sequencer.c | |||
@@ -216,8 +216,6 @@ int sequencer_write(int dev, struct file *file, const char __user *buf, int coun | |||
216 | 216 | ||
217 | dev = dev >> 4; | 217 | dev = dev >> 4; |
218 | 218 | ||
219 | DEB(printk("sequencer_write(dev=%d, count=%d)\n", dev, count)); | ||
220 | |||
221 | if (mode == OPEN_READ) | 219 | if (mode == OPEN_READ) |
222 | return -EIO; | 220 | return -EIO; |
223 | 221 | ||
@@ -959,8 +957,6 @@ int sequencer_open(int dev, struct file *file) | |||
959 | dev = dev >> 4; | 957 | dev = dev >> 4; |
960 | mode = translate_mode(file); | 958 | mode = translate_mode(file); |
961 | 959 | ||
962 | DEB(printk("sequencer_open(dev=%d)\n", dev)); | ||
963 | |||
964 | if (!sequencer_ok) | 960 | if (!sequencer_ok) |
965 | { | 961 | { |
966 | /* printk("Sound card: sequencer not initialized\n");*/ | 962 | /* printk("Sound card: sequencer not initialized\n");*/ |
@@ -1133,8 +1129,6 @@ void sequencer_release(int dev, struct file *file) | |||
1133 | 1129 | ||
1134 | dev = dev >> 4; | 1130 | dev = dev >> 4; |
1135 | 1131 | ||
1136 | DEB(printk("sequencer_release(dev=%d)\n", dev)); | ||
1137 | |||
1138 | /* | 1132 | /* |
1139 | * Wait until the queue is empty (if we don't have nonblock) | 1133 | * Wait until the queue is empty (if we don't have nonblock) |
1140 | */ | 1134 | */ |