From: Signed-off-by: Maximilian Attems Signed-off-by: Andrew Morton --- 25-akpm/drivers/char/selection.c | 6 +----- 1 files changed, 1 insertion(+), 5 deletions(-) diff -puN drivers/char/selection.c~drivers-char-selectionc-min-max-removal drivers/char/selection.c --- 25/drivers/char/selection.c~drivers-char-selectionc-min-max-removal Wed Sep 1 15:20:12 2004 +++ 25-akpm/drivers/char/selection.c Wed Sep 1 15:20:12 2004 @@ -26,10 +26,6 @@ #include #include -#ifndef MIN -#define MIN(a,b) ((a) < (b) ? (a) : (b)) -#endif - /* Don't take this from : 011-015 on the screen aren't spaces */ #define isspace(c) ((c) == ' ') @@ -295,7 +291,7 @@ int paste_selection(struct tty_struct *t continue; } count = sel_buffer_lth - pasted; - count = MIN(count, tty->ldisc.receive_room(tty)); + count = min(count, tty->ldisc.receive_room(tty)); tty->ldisc.receive_buf(tty, sel_buffer + pasted, NULL, count); pasted += count; } _