diff options
author | 2015-01-16 14:35:09 +0100 | |
---|---|---|
committer | 2015-01-17 23:58:37 -0500 | |
commit | 66c1a12c65c5bee2427b7813218d1279e4906084 (patch) | |
tree | 37a6516934c7478a42cb056a0fe3ef302d240654 /net/switchdev/switchdev.c | |
parent | Merge branch 's390-next' (diff) | |
download | wireguard-linux-66c1a12c65c5bee2427b7813218d1279e4906084.tar.xz wireguard-linux-66c1a12c65c5bee2427b7813218d1279e4906084.zip |
socket: use ki_nbytes instead of iov_length()
This field already contains the length of the iovec, no need to calculate it
again.
Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions