net-sysfs: make xps_cpus_show and xps_rxqs_show consistent
authorAntoine Tenart <atenart@kernel.org>
Thu, 18 Mar 2021 18:37:42 +0000 (19:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Mar 2021 21:56:22 +0000 (14:56 -0700)
commit73f5e52b15e3aa4ef641264228cd9069b1948149
tree606b6cb59f36a7e5d34995a42eca5c4634aba1c1
parentd9a063d207f0e538b0f5aa8b04a6c14f88906a6d
net-sysfs: make xps_cpus_show and xps_rxqs_show consistent

Make the implementations of xps_cpus_show and xps_rxqs_show to converge,
as the two share the same logic but diverted over time. This should not
modify their behaviour but will help future changes and improve
maintenance.

Signed-off-by: Antoine Tenart <atenart@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net-sysfs.c