diff options
author | 2013-12-07 04:55:00 +0800 | |
---|---|---|
committer | 2013-12-09 20:36:08 -0500 | |
commit | 73713357ab58aacda1af715bb5a623528dbbfd79 (patch) | |
tree | ba37794f8a222cfac4c9ee469bf7beb0d7409f4a /include/linux/inetdevice.h | |
parent | macvtap: remove useless codes in macvtap_aio_read() and macvtap_recvmsg() (diff) | |
download | wireguard-linux-73713357ab58aacda1af715bb5a623528dbbfd79.tar.xz wireguard-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 'include/linux/inetdevice.h')
0 files changed, 0 insertions, 0 deletions