commit | 41e4af69a5984a3193ba3108fb4e067b0e34dc73 | [log] [tgz] |
---|---|---|
author | Zhi Yong Wu <wuzhy@linux.vnet.ibm.com> | Sat Dec 07 04:54:59 2013 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 09 20:35:42 2013 -0500 |
tree | 8f0ab590e83d6a9fc0e550dcebf71bb1f435aaa1 | |
parent | ca2f09f2b2c6c25047cfc545d057c4edfcfe561c [diff] |
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>