lkml.org 
[lkml]   [2007]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 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>

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.23rc1-mm1/drivers/char/mxser.h linux-2.6.23rc1-mm1/drivers/char/mxser.h
--- linux.vanilla-2.6.23rc1-mm1/drivers/char/mxser.h 2007-07-26 15:01:31.000000000 +0100
+++ linux-2.6.23rc1-mm1/drivers/char/mxser.h 2007-08-08 11:45:44.323496144 +0100
@@ -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)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2007-08-08 15:31    [W:0.368 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site