aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/synclinkmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/synclinkmp.c')
-rw-r--r--drivers/char/synclinkmp.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/char/synclinkmp.c b/drivers/char/synclinkmp.c
index ef93d055bdd7..a65407b32079 100644
--- a/drivers/char/synclinkmp.c
+++ b/drivers/char/synclinkmp.c
@@ -135,8 +135,6 @@ typedef struct _SCADESC_EX
135 135
136#define IO_PIN_SHUTDOWN_LIMIT 100 136#define IO_PIN_SHUTDOWN_LIMIT 100
137 137
138#define RELEVANT_IFLAG(iflag) (iflag & (IGNBRK|BRKINT|IGNPAR|PARMRK|INPCK))
139
140struct _input_signal_events { 138struct _input_signal_events {
141 int ri_up; 139 int ri_up;
142 int ri_down; 140 int ri_down;
@@ -927,12 +925,6 @@ static void set_termios(struct tty_struct *tty, struct ktermios *old_termios)
927 printk("%s(%d):%s set_termios()\n", __FILE__,__LINE__, 925 printk("%s(%d):%s set_termios()\n", __FILE__,__LINE__,
928 tty->driver->name ); 926 tty->driver->name );
929 927
930 /* just return if nothing has changed */
931 if ((tty->termios->c_cflag == old_termios->c_cflag)
932 && (RELEVANT_IFLAG(tty->termios->c_iflag)
933 == RELEVANT_IFLAG(old_termios->c_iflag)))
934 return;
935
936 change_params(info); 928 change_params(info);
937 929
938 /* Handle transition to B0 status */ 930 /* Handle transition to B0 status */