We merely modify the flags, might as well just send one call

Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
 tools/isdv4-serial-debugger.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/isdv4-serial-debugger.c b/tools/isdv4-serial-debugger.c
index 778b500..e89623a 100644
--- a/tools/isdv4-serial-debugger.c
+++ b/tools/isdv4-serial-debugger.c
@@ -104,7 +104,6 @@ int set_serial_attr(int fd, unsigned int baud)
        t.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
        t.c_cflag &= ~(CSIZE|PARENB);
        t.c_cflag |= CS8|CLOCAL;
-       tcsetattr(fd, TCSANOW, &t);
 
        /* wacom-specific */
        t.c_cflag &= ~(CSTOPB); /* stopbits 1 */
-- 
1.8.5.3


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to