diff options
author | Zhi Yong Wu <wuzhy@linux.vnet.ibm.com> | 2013-12-07 04:54:59 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-09 20:35:42 -0500 |
commit | 41e4af69a5984a3193ba3108fb4e067b0e34dc73 (patch) | |
tree | 8f0ab590e83d6a9fc0e550dcebf71bb1f435aaa1 /drivers/pps | |
parent | ca2f09f2b2c6c25047cfc545d057c4edfcfe561c (diff) | |
download | talos-op-linux-41e4af69a5984a3193ba3108fb4e067b0e34dc73.tar.gz talos-op-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/pps')
0 files changed, 0 insertions, 0 deletions