summaryrefslogtreecommitdiff
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
authorZhi Yong Wu <wuzhy@linux.vnet.ibm.com>2013-12-06 20:54:59 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-12-10 01:35:42 (GMT)
commit41e4af69a5984a3193ba3108fb4e067b0e34dc73 (patch)
tree8f0ab590e83d6a9fc0e550dcebf71bb1f435aaa1 /drivers/net/tun.c
parentca2f09f2b2c6c25047cfc545d057c4edfcfe561c (diff)
downloadlinux-41e4af69a5984a3193ba3108fb4e067b0e34dc73.tar.xz
macvtap: remove useless codes in macvtap_aio_read() and macvtap_recvmsg()
By checking related codes, it is impossible that ret > len or total_len, so we should remove some useless coeds 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 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions