commit | d04600679ba08f40f5a3be597f44250b129af552 | [log] [tgz] |
---|---|---|
author | Samuel Iglesias Gonsalvez <siglesias@igalia.com> | Thu Sep 13 12:32:23 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Sep 13 20:21:38 2012 -0700 |
tree | dfe338ab641bd013b797509aa9e50eb766078873 | |
parent | 4514108c5b8088ab4a72ba27eb093882d76619cf [diff] |
Staging: ipack/devices/ipoctal: simplify ipoctal_write_tty() Remove count_wr and the assigment of nb_bytes = 0 in that function as is useless. Now it returns the count of the characters actually sent. There is other nb_bytes = 0 deleted that has a duplicate a few lines before. Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>