aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/inetdevice.h
diff options
context:
space:
mode:
authorZhi Yong Wu <wuzhy@linux.vnet.ibm.com>2013-12-07 04:55:00 +0800
committerDavid S. Miller <davem@davemloft.net>2013-12-09 20:36:08 -0500
commit73713357ab58aacda1af715bb5a623528dbbfd79 (patch)
treeba37794f8a222cfac4c9ee469bf7beb0d7409f4a /include/linux/inetdevice.h
parentmacvtap: remove useless codes in macvtap_aio_read() and macvtap_recvmsg() (diff)
downloadwireguard-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