diff options
author | Zhi Yong Wu <wuzhy@linux.vnet.ibm.com> | 2013-12-06 21:55:00 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-10 02:36:08 +0100 |
commit | 73713357ab58aacda1af715bb5a623528dbbfd79 (patch) | |
tree | ba37794f8a222cfac4c9ee469bf7beb0d7409f4a /net/802/hippi.c | |
parent | macvtap: remove useless codes in macvtap_aio_read() and macvtap_recvmsg() (diff) | |
download | linux-73713357ab58aacda1af715bb5a623528dbbfd79.tar.xz linux-73713357ab58aacda1af715bb5a623528dbbfd79.zip |
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>
Diffstat (limited to 'net/802/hippi.c')
0 files changed, 0 insertions, 0 deletions