diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/csr_h4.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/csr_h4.c b/tools/csr_h4.c index 2a6c156f..1e051903 100644 --- a/tools/csr_h4.c +++ b/tools/csr_h4.c @@ -67,13 +67,6 @@ int csr_open_h4(char *device) ti.c_cflag |= CLOCAL; ti.c_cflag |= CRTSCTS; - if (tcsetattr(fd, TCSANOW, &ti) < 0) { - fprintf(stderr, "Can't change port settings: %s (%d)\n", - strerror(errno), errno); - close(fd); - return -1; - } - cfsetospeed(&ti, B38400); if (tcsetattr(fd, TCSANOW, &ti) < 0) { |