aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorNicolas Dichtel <[email protected]>2015-01-16 13:35:09 +0000
committerDavid S. Miller <[email protected]>2015-01-18 04:58:37 +0000
commit66c1a12c65c5bee2427b7813218d1279e4906084 (patch)
tree37a6516934c7478a42cb056a0fe3ef302d240654 /net/switchdev/switchdev.c
parentMerge branch 's390-next' (diff)
downloadkernel-66c1a12c65c5bee2427b7813218d1279e4906084.tar.gz
kernel-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 <[email protected]> Signed-off-by: Nicolas Dichtel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions