Commit 90cbc9b1 authored by Maximilian Attems's avatar Maximilian Attems Committed by Linus Torvalds

[PATCH] drivers/char/esp.c MIN/MAX removal

Signed-off-by: default avatarMaximilian Attems <janitor@sternwelten.at>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 7365d226
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
* *
* rs_set_termios fixed to look also for changes of the input * rs_set_termios fixed to look also for changes of the input
* flags INPCK, BRKINT, PARMRK, IGNPAR and IGNBRK. * flags INPCK, BRKINT, PARMRK, IGNPAR and IGNBRK.
* Bernd Anhupl 05/17/96. * Bernd Anh�pl 05/17/96.
* *
* --- End of notices from serial.c --- * --- End of notices from serial.c ---
* *
...@@ -140,7 +140,7 @@ static struct esp_struct *ports; ...@@ -140,7 +140,7 @@ static struct esp_struct *ports;
static void change_speed(struct esp_struct *info); static void change_speed(struct esp_struct *info);
static void rs_wait_until_sent(struct tty_struct *, int); static void rs_wait_until_sent(struct tty_struct *, int);
/* /*
* The ESP card has a clock rate of 14.7456 MHz (that is, 2**ESPC_SCALE * The ESP card has a clock rate of 14.7456 MHz (that is, 2**ESPC_SCALE
* times the normal 1.8432 Mhz clock of most serial boards). * times the normal 1.8432 Mhz clock of most serial boards).
...@@ -150,10 +150,6 @@ static void rs_wait_until_sent(struct tty_struct *, int); ...@@ -150,10 +150,6 @@ static void rs_wait_until_sent(struct tty_struct *, int);
/* Standard COM flags (except for COM4, because of the 8514 problem) */ /* Standard COM flags (except for COM4, because of the 8514 problem) */
#define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST) #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
#ifndef MIN
#define MIN(a,b) ((a) < (b) ? (a) : (b))
#endif
/* /*
* tmp_buf is used as a temporary buffer by serial_write. We need to * tmp_buf is used as a temporary buffer by serial_write. We need to
* lock it in case the memcpy_fromfs blocks while swapping in a page, * lock it in case the memcpy_fromfs blocks while swapping in a page,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment