diff options
author | Paul Barker <[email protected]> | 2024-06-04 08:28:19 +0100 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-06-06 09:59:57 +0200 |
commit | 118e640af30c1355cfea1eeaa2960dc9331ee3db (patch) | |
tree | cd5b141118f8285f0c3fa76df719e6ee4f788cb4 /tools/perf/scripts/python/stackcollapse.py | |
parent | 7da375e2c7e023957b71fce44a72107559cfa6d0 (diff) |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions