From: Samuel Iglesias Gonsalvez Date: Thu, 13 Sep 2012 10:32:23 +0000 (+0200) Subject: Staging: ipack/devices/ipoctal: simplify ipoctal_write_tty() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~245 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d04600679ba08f40f5a3be597f44250b129af552;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed