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-Url: https://git.stricted.de/?a=commitdiff_plain;h=7f748bbd7f84034204a14928a048695ff8b9d8ca;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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)