net-sysfs: Slightly optimize 'xps_queue_show()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 21 Nov 2021 18:01:03 +0000 (19:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Nov 2021 14:30:19 +0000 (14:30 +0000)
commit08a7abf4aff1a42290fd20ff7a5fa8a3ff5f90e7
tree63387d7d269c336c5d5c4ef37b9eda15ca27925d
parentdb473c075f01befd9cf10154098267e7d6ee7d11
net-sysfs: Slightly optimize 'xps_queue_show()'

The 'mask' bitmap is local to this function. So the non-atomic
'__set_bit()' can be used to save a few cycles.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net-sysfs.c