commit | 73713357ab58aacda1af715bb5a623528dbbfd79 | [log] [tgz] |
---|---|---|
author | Zhi Yong Wu <wuzhy@linux.vnet.ibm.com> | Sat Dec 07 04:55:00 2013 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 09 20:36:08 2013 -0500 |
tree | ba37794f8a222cfac4c9ee469bf7beb0d7409f4a | |
parent | 41e4af69a5984a3193ba3108fb4e067b0e34dc73 [diff] |
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 <wuzhy@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>