Commit f69efc9b authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Remove unused tty CALLOUT defines

From: Marcelo Tosatti <marcelo.tosatti@cyclades.com>

The callout code has been removed long ago from 2.6.  I believe it is safe
to remove some of its unused defines.
parent b1c059c1
......@@ -1231,11 +1231,9 @@ struct r_port {
#define ROCKET_INITIALIZED 0x80000000 /* Port is active */
#define ROCKET_CLOSING 0x40000000 /* Serial port is closing */
#define ROCKET_NORMAL_ACTIVE 0x20000000 /* Normal port is active */
#define ROCKET_CALLOUT_ACTIVE 0x10000000 /* Callout port is active */
/* tty subtypes */
#define SERIAL_TYPE_NORMAL 1
#define SERIAL_TYPE_CALLOUT 2
/*
* Assigned major numbers for the Comtrol Rocketport
......
......@@ -73,7 +73,6 @@ typedef struct {
#define PORT_COUNT (BOARD_COUNT*16)
#define SERIAL_TYPE_NORMAL 1
#define SERIAL_TYPE_CALLOUT 2
/* character sizes */
......
......@@ -131,7 +131,6 @@ struct serial_uart_config {
/* Internal flags used only by kernel/chr_drv/serial.c */
#define ASYNC_INITIALIZED 0x80000000 /* Serial port was initialized */
#define ASYNC_CALLOUT_ACTIVE 0x40000000 /* Call out device is active */
#define ASYNC_NORMAL_ACTIVE 0x20000000 /* Normal device is active */
#define ASYNC_BOOT_AUTOCONF 0x10000000 /* Autoconfigure port on bootup */
#define ASYNC_CLOSING 0x08000000 /* Serial port is closing */
......
......@@ -275,6 +275,5 @@ void tty_set_operations(struct tty_driver *driver, struct tty_operations *op);
/* serial subtype definitions */
#define SERIAL_TYPE_NORMAL 1
#define SERIAL_TYPE_CALLOUT 2
#endif /* #ifdef _LINUX_TTY_DRIVER_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment