diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2006-12-05 13:35:45 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2006-12-05 13:35:45 +0000 |
commit | adfa4f04808ec819cfc5ec8ab105a7fbeb434bdc (patch) | |
tree | a77cbf52809606bf2fc7e1a1cef8471a06c4e413 /serial.c | |
parent | e73040595fc8c6a41daf52ed53cc0c6b8d6bf528 (diff) | |
download | gpsd-adfa4f04808ec819cfc5ec8ab105a7fbeb434bdc.tar.gz |
Eliminate redundant setting of CS7/CS8. All regression tests pass.
Diffstat (limited to 'serial.c')
-rw-r--r-- | serial.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -116,8 +116,6 @@ void gpsd_set_speed(struct gps_device_t *session, session->ttyset.c_cflag |= PARENB | PARODD; break; } - session->ttyset.c_cflag &=~ CSIZE; - session->ttyset.c_cflag |= (CSIZE & (stopbits==2 ? CS7 : CS8)); if (tcsetattr(session->gpsdata.gps_fd, TCSANOW, &session->ttyset) != 0) return; |