diff options
Diffstat (limited to 'drivers/char/ip2')
-rw-r--r-- | drivers/char/ip2/ip2main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/ip2/ip2main.c b/drivers/char/ip2/ip2main.c index 7c70310a49b5..83c7258d3580 100644 --- a/drivers/char/ip2/ip2main.c +++ b/drivers/char/ip2/ip2main.c | |||
@@ -1271,8 +1271,8 @@ static void do_input(struct work_struct *work) | |||
1271 | // code duplicated from n_tty (ldisc) | 1271 | // code duplicated from n_tty (ldisc) |
1272 | static inline void isig(int sig, struct tty_struct *tty, int flush) | 1272 | static inline void isig(int sig, struct tty_struct *tty, int flush) |
1273 | { | 1273 | { |
1274 | if (tty->pgrp > 0) | 1274 | if (tty->pgrp) |
1275 | kill_pg(tty->pgrp, sig, 1); | 1275 | kill_pgrp(tty->pgrp, sig, 1); |
1276 | if (flush || !L_NOFLSH(tty)) { | 1276 | if (flush || !L_NOFLSH(tty)) { |
1277 | if ( tty->ldisc.flush_buffer ) | 1277 | if ( tty->ldisc.flush_buffer ) |
1278 | tty->ldisc.flush_buffer(tty); | 1278 | tty->ldisc.flush_buffer(tty); |