From: Zhi Yong Wu Date: Fri, 6 Dec 2013 20:55:00 +0000 (+0800) Subject: tun: remove useless codes in tun_chr_aio_read() and tun_recvmsg() X-Git-Tag: v3.14-rc1~94^2~559 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73713357ab58aacda1af715bb5a623528dbbfd79;p=pandora-kernel.git tun: remove useless codes in tun_chr_aio_read() and tun_recvmsg() By checking related codes, it is impossible that ret > len or total_len, so we should remove some useless codes in both above functions. Signed-off-by: Zhi Yong Wu Signed-off-by: David S. Miller --- Reading git-diff-tree failed