From: Alan Cox Date: Wed, 17 Oct 2007 06:27:05 +0000 (-0700) Subject: mxser: Remove use of dead TTY_FLIPBUF_SIZE definition X-Git-Tag: v2.6.24-rc1~697 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f748bbd7f84034204a14928a048695ff8b9d8ca;p=linux-2.6 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/mxser.h b/drivers/char/mxser.h index 9fe28497ea..1f4aa45ec0 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)