diff options
author | Zhi Yong Wu <wuzhy@linux.vnet.ibm.com> | 2013-12-06 21:54:59 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-10 02:35:42 +0100 |
commit | 41e4af69a5984a3193ba3108fb4e067b0e34dc73 (patch) | |
tree | 8f0ab590e83d6a9fc0e550dcebf71bb1f435aaa1 /drivers/net/tun.c | |
parent | xen-netback: improve guest-receive-side flow control (diff) | |
download | linux-41e4af69a5984a3193ba3108fb4e067b0e34dc73.tar.xz linux-41e4af69a5984a3193ba3108fb4e067b0e34dc73.zip |
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