aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPaul Barker <paul.barker.ct@bp.renesas.com>2024-06-04 08:28:19 +0100
committerPaolo Abeni <pabeni@redhat.com>2024-06-06 09:59:57 +0200
commit118e640af30c1355cfea1eeaa2960dc9331ee3db (patch)
treecd5b141118f8285f0c3fa76df719e6ee4f788cb4 /net/unix/af_unix.c
parent7da375e2c7e023957b71fce44a72107559cfa6d0 (diff)
downloadlinux-118e640af30c1355cfea1eeaa2960dc9331ee3db.tar.gz
linux-118e640af30c1355cfea1eeaa2960dc9331ee3db.tar.bz2
linux-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 <paul.barker.ct@bp.renesas.com> Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions