tty: Remove dead tty_write_flush() declaration and macro
PATCH 1/1 tty: Remove dead tty_write_flush() declaration and macro
tty_write_flush() has no definition and the TTY_WRITE_FLUSH() macro is never invoked; remove.
Signed-off-by Peter Hurley <[email protected]>
--- include/linux/tty.h | 4 ---- 1 file changed, 4 deletions(-)
include/linux/tty.h +0 -4
@@ -345,8 +345,6 @@ struct tty_file_private {#define TTY_HUPPED 18/* Post driver->hangup() */ #define TTY_LDISC_HALTED 22/* Line discipline is halted */ -#define TTY_WRITE_FLUSH (tty) tty_write_flush((tty)) -/* Values for tty->flow_change */ #define TTY_THROTTLE_SAFE 1#define TTY_UNTHROTTLE_SAFE 2
@@ -395,8 +393,6 @@ static inline int __init tty_init(void) {return 0 ; }#endif -extern void tty_write_flush (struct tty_struct *); -extern struct ktermios tty_std_termios;extern int vcs_init (void );
Signature · 1 line
2.6.3
PATCH 1/1 tty: Remove unused SERIAL_DO_RESTART define
SERIAL_DO_RESTART is not used by these 3 drivers; remove.
Signed-off-by Peter Hurley <[email protected]>
--- drivers/tty/amiserial.c | 1 - drivers/tty/moxa.c | 1 - drivers/tty/serial/icom.c | 1 - 3 files changed, 3 deletions(-)
drivers/tty/amiserial.c +0 -1
@@ -32,7 +32,6 @@#include <linux/delay.h> #undef SERIAL_PARANOIA_CHECK -#define SERIAL_DO_RESTART /* Set of debugging defines */
drivers/tty/moxa.c +0 -1
@@ -155,7 +155,6 @@ struct mon_str {#define LOWWAIT 2#define EMPTYWAIT 3 -#define SERIAL_DO_RESTART #define WAKEUP_CHARS 256
drivers/tty/serial/icom.c +0 -1
@@ -22,7 +22,6 @@* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ -#define SERIAL_DO_RESTART #include <linux/module.h> #include <linux/kernel.h> #include <linux/errno.h>
Signature · 1 line
2.6.3