mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Remove unused tty CALLOUT defines
@ 2004-02-24 22:08 Marcelo Tosatti
  0 siblings, 0 replies; only message in thread
From: Marcelo Tosatti @ 2004-02-24 22:08 UTC (permalink / raw)
  To: akpm; +Cc: Russell King, linux-kernel


Hi Andrew,

The callout code has been removed long ago from 2.6.

I believe it is safe to remove some of its unused defines.

Please apply it if rmk is ok with it.

diff -Naur -p -X /home/marcelo/lib/dontdiff linux-2.6.3.orig/drivers/char/rocket_int.h linux-2.6.3/drivers/char/rocket_int.h
--- linux-2.6.3.orig/drivers/char/rocket_int.h	2004-02-24 20:51:48.000000000 +0000
+++ linux-2.6.3/drivers/char/rocket_int.h	2004-02-24 21:29:33.000000000 +0000
@@ -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
diff -Naur -p -X /home/marcelo/lib/dontdiff linux-2.6.3.orig/include/linux/isdn.h linux-2.6.3/include/linux/isdn.h
--- linux-2.6.3.orig/include/linux/isdn.h	2004-02-24 20:52:14.000000000 +0000
+++ linux-2.6.3/include/linux/isdn.h	2004-02-24 21:32:19.000000000 +0000
@@ -238,7 +238,6 @@ typedef struct {

 #define ISDN_ASYNC_MAGIC          0x49344C01 /* for paranoia-checking        */
 #define ISDN_ASYNC_INITIALIZED	  0x80000000 /* port was initialized         */
-#define ISDN_ASYNC_CALLOUT_ACTIVE 0x40000000 /* Call out device active       */
 #define ISDN_ASYNC_NORMAL_ACTIVE  0x20000000 /* Normal device active         */
 #define ISDN_ASYNC_CLOSING	  0x08000000 /* Serial port is closing       */
 #define ISDN_ASYNC_CTS_FLOW	  0x04000000 /* Do CTS flow control          */
diff -Naur -p -X /home/marcelo/lib/dontdiff linux-2.6.3.orig/include/linux/isicom.h linux-2.6.3/include/linux/isicom.h
--- linux-2.6.3.orig/include/linux/isicom.h	2004-02-24 20:52:13.000000000 +0000
+++ linux-2.6.3/include/linux/isicom.h	2004-02-24 21:28:46.000000000 +0000
@@ -73,7 +73,6 @@ typedef	struct	{
 #define		PORT_COUNT	(BOARD_COUNT*16)

 #define		SERIAL_TYPE_NORMAL	1
-#define		SERIAL_TYPE_CALLOUT	2

 /*   character sizes  */

diff -Naur -p -X /home/marcelo/lib/dontdiff linux-2.6.3.orig/include/linux/serial.h linux-2.6.3/include/linux/serial.h
--- linux-2.6.3.orig/include/linux/serial.h	2004-02-24 20:52:13.000000000 +0000
+++ linux-2.6.3/include/linux/serial.h	2004-02-24 21:32:05.000000000 +0000
@@ -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 */
diff -Naur -p -X /home/marcelo/lib/dontdiff linux-2.6.3.orig/include/linux/tty_driver.h linux-2.6.3/include/linux/tty_driver.h
--- linux-2.6.3.orig/include/linux/tty_driver.h	2004-02-24 20:52:13.000000000 +0000
+++ linux-2.6.3/include/linux/tty_driver.h	2004-02-24 21:29:05.000000000 +0000
@@ -270,6 +270,5 @@ void tty_set_operations(struct tty_drive

 /* serial subtype definitions */
 #define SERIAL_TYPE_NORMAL	1
-#define SERIAL_TYPE_CALLOUT	2

 #endif /* #ifdef _LINUX_TTY_DRIVER_H */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-24 21:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-24 22:08 Remove unused tty CALLOUT defines Marcelo Tosatti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®