summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2021-11-14 22:02:35 +0300
committerDavid S. Miller <davem@davemloft.net>2021-11-15 17:07:06 +0300
commitcc0be1ad686fb29a4d127948486f40b17fb34b50 (patch)
treef93536bfcdeaaa445d144fddca21ad7f53ac28d4 /include/uapi/linux
parentcb3ef7b00042479277cda7871d899378ad91f081 (diff)
downloadlinux-cc0be1ad686fb29a4d127948486f40b17fb34b50.tar.xz
net: bridge: Slightly optimize 'find_portno()'
The 'inuse' bitmap is local to this function. So we can use the non-atomic '__set_bit()' to save a few cycles. While at it, also remove some useless {}. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Acked-by: Nikolay Aleksandrov <nikolay@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions