From 145d2cbceef536acb4b0d5f4e87016f72626f7d0 Mon Sep 17 00:00:00 2001 From: "Brian S. Dean" Date: Sun, 1 Dec 2002 20:10:12 +0000 Subject: [PATCH] Remove unused code. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@165 81a1dc3b-b13d-400b-aceb-764788c761c2 --- avrdude/stk500.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/avrdude/stk500.c b/avrdude/stk500.c index 7a8b86c4..70ff056f 100644 --- a/avrdude/stk500.c +++ b/avrdude/stk500.c @@ -623,13 +623,6 @@ int static stk500_setattr(int fd) return -errno; } -#if 0 - termios.c_iflag &= ~(INPCK | IXOFF | IXON); - termios.c_cflag &= ~(HUPCL | CSTOPB | CRTSCTS); - termios.c_cflag |= (CLOCAL | CREAD); - termios.c_cc [VMIN] = 1; - termios.c_cc [VTIME] = 0; -#else termios.c_iflag = 0; termios.c_oflag = 0; termios.c_cflag &= ~ (PARENB | CSIZE | CSTOPB); @@ -637,7 +630,6 @@ int static stk500_setattr(int fd) termios.c_lflag = 0; termios.c_cc[VMIN] = 1; termios.c_cc[VTIME] = 0; -#endif cfsetospeed(&termios, B115200); cfsetispeed(&termios, B115200);