Skip to content

Commit

Permalink
serial: There's no config CONSOLE
Browse files Browse the repository at this point in the history
as there's no config CONSOLE (never has been as far as I can tell) and
noone has ever missed that piece of code, it should be safe to remove
it making the kernel a tiny bit less complex.

Signed-off-by: Christoph Egger <siccegge@cs.fau.de>
Acked-by: Greg Ungerer <gerg@snapgear.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Christoph Egger authored and Greg Kroah-Hartman committed Aug 10, 2010
1 parent ea5d023 commit 690b781
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions drivers/serial/68328serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,6 @@ struct m68k_serial *m68k_consinfo = 0;

#define M68K_CLOCK (16667000) /* FIXME: 16MHz is likely wrong */

#ifdef CONFIG_CONSOLE
extern wait_queue_head_t keypress_wait;
#endif

struct tty_driver *serial_driver;

/* number of characters left in xmit buffer before we ask for more */
Expand Down Expand Up @@ -300,10 +296,6 @@ static void receive_chars(struct m68k_serial *info, unsigned short rx)
return;
#endif /* CONFIG_MAGIC_SYSRQ */
}
/* It is a 'keyboard interrupt' ;-) */
#ifdef CONFIG_CONSOLE
wake_up(&keypress_wait);
#endif
}

if(!tty)
Expand Down

0 comments on commit 690b781

Please sign in to comment.