projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33969db
)
amiserial: remove unused DBG_CNT
author
Jiri Slaby
<jslaby@suse.cz>
Wed, 14 Jul 2021 09:13:04 +0000
(11:13 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 21 Jul 2021 10:49:50 +0000
(12:49 +0200)
The ugly DBG_CNT macro is unused, so remove.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link:
https://lore.kernel.org/r/20210714091314.8292-1-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/amiserial.c
patch
|
blob
|
history
diff --git
a/drivers/tty/amiserial.c
b/drivers/tty/amiserial.c
index 5ec19c48fb7a7e5fd3180fd124586ab02c8a9e50..08987c438408ae064ff4baf1e9a1a8b1b016499b 100644
(file)
--- a/
drivers/tty/amiserial.c
+++ b/
drivers/tty/amiserial.c
@@
-31,15
+31,6
@@
#undef SERIAL_DEBUG_FLOW
#undef SERIAL_DEBUG_RS_WAIT_UNTIL_SENT
-/* Sanity checks */
-
-#if defined(MODULE) && defined(SERIAL_DEBUG_MCOUNT)
-#define DBG_CNT(s) printk("(%s): [%x] refc=%d, serc=%d, ttyc=%d -> %s\n", \
- tty->name, (info->tport.flags), serial_driver->refcount,info->count,tty->count,s)
-#else
-#define DBG_CNT(s)
-#endif
-
/*
* End of serial driver configuration section.
*/