summaryrefslogtreecommitdiff
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>2012-09-13 12:32:23 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-13 20:21:38 -0700
commitd04600679ba08f40f5a3be597f44250b129af552 (patch)
treedfe338ab641bd013b797509aa9e50eb766078873 /include/linux/kernel.h
parent4514108c5b8088ab4a72ba27eb093882d76619cf (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>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions