Remove unused code.

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@165 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
bsd 2002-12-01 20:10:12 +00:00
parent 992ffd6758
commit 9bb4ed7d28
1 changed files with 0 additions and 8 deletions

View File

@ -623,13 +623,6 @@ int static stk500_setattr(int fd)
return -errno; 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_iflag = 0;
termios.c_oflag = 0; termios.c_oflag = 0;
termios.c_cflag &= ~ (PARENB | CSIZE | CSTOPB); termios.c_cflag &= ~ (PARENB | CSIZE | CSTOPB);
@ -637,7 +630,6 @@ int static stk500_setattr(int fd)
termios.c_lflag = 0; termios.c_lflag = 0;
termios.c_cc[VMIN] = 1; termios.c_cc[VMIN] = 1;
termios.c_cc[VTIME] = 0; termios.c_cc[VTIME] = 0;
#endif
cfsetospeed(&termios, B115200); cfsetospeed(&termios, B115200);
cfsetispeed(&termios, B115200); cfsetispeed(&termios, B115200);