Skip to contentSkip to conversation

tty: Kill TTY_FLIPBUF_SIZE

PATCH New Alan Cox 1 participant 1 message Oct 15, 2007 TTY layer and serial drivers

lore
Share & tools
lore

Alan Cox

author
#0 lore raw

PATCH 1/1 tty: Kill TTY_FLIPBUF_SIZE

This legacy define from the old buffer code is now only used in a single power pc driver than doesn't compile anyway.

include/linux/tty.h +0 -7
diff -u --exclude-from /usr/src/exclude --new-file --recursive linux.vanilla-2.6.23-mm1/include/linux/tty.h linux-2.6.23-mm1/include/linux/tty.h
@@ -52,13 +52,6 @@
  */
 #define __DISABLED_CHAR '\0'
 
-/*
- * This is the flip buffer used for the tty driver.  The buffer is
- * located in the tty structure, and is used as a high speed interface
- * between the tty driver and the tty line discipline.
- */
-#define TTY_FLIPBUF_SIZE 512
-
 struct tty_buffer {
 	struct tty_buffer *next;
 	char *char_buf_ptr;