diff options
| author | Antoine Tenart <[email protected]> | 2021-03-18 18:37:50 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-03-18 21:56:22 +0000 |
| commit | 2db6cdaebac83c13acb165594b09282fa03cec89 (patch) | |
| tree | 825d6d44176fec044468f655f6b14f463bd422c1 /drivers/net/wan/lapbether.c | |
| parent | net-sysfs: move the rtnl unlock up in the xps show helpers (diff) | |
| download | kernel-2db6cdaebac83c13acb165594b09282fa03cec89.tar.gz kernel-2db6cdaebac83c13acb165594b09282fa03cec89.zip | |
net-sysfs: move the xps cpus/rxqs retrieval in a common function
Most of the xps_cpus_show and xps_rxqs_show functions share the same
logic. Having it in two different functions does not help maintenance.
This patch moves their common logic into a new function, xps_queue_show,
to improve this.
Signed-off-by: Antoine Tenart <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/wan/lapbether.c')
0 files changed, 0 insertions, 0 deletions
