aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPaul Barker <[email protected]>2024-06-04 07:28:19 +0000
committerPaolo Abeni <[email protected]>2024-06-06 07:59:57 +0000
commit118e640af30c1355cfea1eeaa2960dc9331ee3db (patch)
treecd5b141118f8285f0c3fa76df719e6ee4f788cb4 /net/unix/af_unix.c
parentMerge branch 'net-mlx5e-shampo-enable-hw-gro-once-more' (diff)
downloadkernel-118e640af30c1355cfea1eeaa2960dc9331ee3db.tar.gz
kernel-118e640af30c1355cfea1eeaa2960dc9331ee3db.zip
net: ravb: Simplify poll & receive functions
We don't need to pass the work budget to ravb_rx() by reference, it's cleaner to pass this by value and return the amount of work done. This allows us to simplify the ravb_poll() function and use the common `work_done` variable name seen in other network drivers for consistency and ease of understanding. This is a pure refactor and should not affect behaviour. Signed-off-by: Paul Barker <[email protected]> Reviewed-by: Sergey Shtylyov <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions