]> err.no Git - linux-2.6/commitdiff
mxser: Remove use of dead TTY_FLIPBUF_SIZE definition
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Wed, 17 Oct 2007 06:27:05 +0000 (23:27 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:52 +0000 (08:42 -0700)
We simply define it to the same value.  Nowdays the TTY flip value is
irrelevant but the value it used is as good as any so why risk breaking it

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/mxser.h

index 9fe28497eae9ed51b8780673cd111456b1ff8aec..1f4aa45ec004436aac1e80b03eb46dac02876741 100644 (file)
@@ -30,8 +30,7 @@
 
 #define TTY_THRESHOLD_THROTTLE  128
 
-#define LO_WATER               (TTY_FLIPBUF_SIZE)
-#define HI_WATER               (TTY_FLIPBUF_SIZE*2*3/4)
+#define HI_WATER               768
 
 // added by James. 03-11-2004.
 #define MOXA_SDS_GETICOUNTER   (MOXA + 68)