From: Alan Cox <alan@lxorguk.ukuu.org.uk>
Date: Wed, 17 Oct 2007 06:27:05 +0000 (-0700)
Subject: mxser: Remove use of dead TTY_FLIPBUF_SIZE definition
X-Git-Tag: firefly_0821_release~25313
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7f748bbd7f84034204a14928a048695ff8b9d8ca;p=firefly-linux-kernel-4.4.55.git

mxser: Remove use of dead TTY_FLIPBUF_SIZE definition

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>
---

diff --git a/drivers/char/mxser.h b/drivers/char/mxser.h
index 9fe28497eae9..1f4aa45ec004 100644
--- a/drivers/char/mxser.h
+++ b/drivers/char/mxser.h
@@ -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)