net: remove the xps possible_mask
authorAntoine Tenart <atenart@kernel.org>
Thu, 18 Mar 2021 18:37:45 +0000 (19:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Mar 2021 21:56:22 +0000 (14:56 -0700)
commit6f36158e058409ec5ceb4290541e77ae2648fc86
treed0b8bff183a776038391372d98f8dc6f6782e461
parent5478fcd0f48322e04ae6c173ad3a1959e066dc83
net: remove the xps possible_mask

Remove the xps possible_mask. It was an optimization but we can just
loop from 0 to nr_ids now that it is embedded in the xps dev_maps. That
simplifies the code a bit.

Suggested-by: Alexander Duyck <alexander.duyck@gmail.com>
Signed-off-by: Antoine Tenart <atenart@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c
net/core/net-sysfs.c