diff options
author | Samuel Iglesias Gonsalvez <siglesias@igalia.com> | 2012-09-13 10:32:23 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-14 03:21:38 (GMT) |
commit | d04600679ba08f40f5a3be597f44250b129af552 (patch) | |
tree | dfe338ab641bd013b797509aa9e50eb766078873 /drivers/staging/wlan-ng/p80211netdev.c | |
parent | 4514108c5b8088ab4a72ba27eb093882d76619cf (diff) | |
download | linux-fsl-qoriq-d04600679ba08f40f5a3be597f44250b129af552.tar.xz |
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>
Diffstat (limited to 'drivers/staging/wlan-ng/p80211netdev.c')
0 files changed, 0 insertions, 0 deletions