Skip to content

Commit

Permalink
tty: xtensa/iss, remove stale comments
Browse files Browse the repository at this point in the history
These are likely taken over from amiserial. iss doesn't do anything of
that.

Cc: Chris Zankel <[email protected]>
Cc: Max Filippov <[email protected]>
Cc: [email protected]
Acked-by: Max Filippov <[email protected]>
Signed-off-by: Jiri Slaby <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
Jiri Slaby authored and gregkh committed Mar 10, 2021
1 parent 0894b13 commit bd5b219
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions arch/xtensa/platforms/iss/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@ static struct timer_list serial_timer;

static DEFINE_SPINLOCK(timer_lock);

/*
* This routine is called whenever a serial port is opened. It
* enables interrupts for a serial port, linking in its async structure into
* the IRQ chain. It also performs the serial-specific
* initialization for the tty structure.
*/

static void rs_poll(struct timer_list *);

static int rs_open(struct tty_struct *tty, struct file * filp)
Expand All @@ -58,17 +51,6 @@ static int rs_open(struct tty_struct *tty, struct file * filp)
return 0;
}


/*
* ------------------------------------------------------------
* iss_serial_close()
*
* This routine is called when the serial port gets closed. First, we
* wait for the last remaining data to be sent. Then, we unlink its
* async structure from the interrupt chain if necessary, and we free
* that IRQ if nothing is left in the chain.
* ------------------------------------------------------------
*/
static void rs_close(struct tty_struct *tty, struct file * filp)
{
spin_lock_bh(&timer_lock);
Expand Down

0 comments on commit bd5b219

Please sign in to comment.