commit | e9119eb439026128e57cb2cdd88838981e61b948 | [log] [tgz] |
---|---|---|
author | Szymon Janc <szymon.janc@tieto.com> | Tue May 10 11:07:21 2011 +0200 |
committer | Johan Hedberg <jh@dell.(none)> | Sun May 15 01:47:08 2011 +0300 |
tree | 6e2c38433f949695363741807942539d3693999b | |
parent | 2c68908c11c05f89c7762243673ebc0d1d125200 [diff] |
Fix minor code style issue in channel_write
diff --git a/serial/proxy.c b/serial/proxy.c index d545e36..de6db41 100644 --- a/serial/proxy.c +++ b/serial/proxy.c
@@ -211,7 +211,6 @@ wbytes = 0; while (wbytes < size) { written = write(fd, buf + wbytes, size - wbytes); - if (written < 0) return -errno;