Loading drivers/staging/dgap/dgap.c +86 −92 Original line number Diff line number Diff line Loading @@ -2171,7 +2171,6 @@ static void dgap_tty_hangup(struct tty_struct *tty) /* flush the transmit queues */ dgap_tty_flush_buffer(tty); } /* Loading Loading @@ -3590,7 +3589,6 @@ static void dgap_tty_start(struct tty_struct *tty) spin_unlock_irqrestore(&ch->ch_lock, lock_flags2); spin_unlock_irqrestore(&bd->bd_lock, lock_flags); } static void dgap_tty_stop(struct tty_struct *tty) Loading Loading @@ -3623,7 +3621,6 @@ static void dgap_tty_stop(struct tty_struct *tty) spin_unlock_irqrestore(&ch->ch_lock, lock_flags2); spin_unlock_irqrestore(&bd->bd_lock, lock_flags); } /* Loading Loading @@ -4402,7 +4399,6 @@ static void dgap_do_reset_board(struct board_t *brd) brd->dpastatus = BD_NOFEP; return; } } #ifdef DIGI_CONCENTRATORS_SUPPORTED Loading Loading @@ -5282,7 +5278,6 @@ static int dgap_param(struct tty_struct *tty) dgap_cmdb(ch, SHFLOW, (u8) hflow, 0xff, 0); } /* * Set RTS and/or DTR Toggle if needed, * but only if product is FEP5+ based. Loading Loading @@ -6346,7 +6341,6 @@ static ssize_t dgap_tty_name_show(struct device *d, return snprintf(buf, PAGE_SIZE, "%s_dgap_%d_%d\n", (un->un_type == DGAP_PRINT) ? "pr" : "tty", bn, cn); } static DEVICE_ATTR(custom_name, S_IRUSR, dgap_tty_name_show, NULL); Loading Loading
drivers/staging/dgap/dgap.c +86 −92 Original line number Diff line number Diff line Loading @@ -2171,7 +2171,6 @@ static void dgap_tty_hangup(struct tty_struct *tty) /* flush the transmit queues */ dgap_tty_flush_buffer(tty); } /* Loading Loading @@ -3590,7 +3589,6 @@ static void dgap_tty_start(struct tty_struct *tty) spin_unlock_irqrestore(&ch->ch_lock, lock_flags2); spin_unlock_irqrestore(&bd->bd_lock, lock_flags); } static void dgap_tty_stop(struct tty_struct *tty) Loading Loading @@ -3623,7 +3621,6 @@ static void dgap_tty_stop(struct tty_struct *tty) spin_unlock_irqrestore(&ch->ch_lock, lock_flags2); spin_unlock_irqrestore(&bd->bd_lock, lock_flags); } /* Loading Loading @@ -4402,7 +4399,6 @@ static void dgap_do_reset_board(struct board_t *brd) brd->dpastatus = BD_NOFEP; return; } } #ifdef DIGI_CONCENTRATORS_SUPPORTED Loading Loading @@ -5282,7 +5278,6 @@ static int dgap_param(struct tty_struct *tty) dgap_cmdb(ch, SHFLOW, (u8) hflow, 0xff, 0); } /* * Set RTS and/or DTR Toggle if needed, * but only if product is FEP5+ based. Loading Loading @@ -6346,7 +6341,6 @@ static ssize_t dgap_tty_name_show(struct device *d, return snprintf(buf, PAGE_SIZE, "%s_dgap_%d_%d\n", (un->un_type == DGAP_PRINT) ? "pr" : "tty", bn, cn); } static DEVICE_ATTR(custom_name, S_IRUSR, dgap_tty_name_show, NULL); Loading