aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2021-11-14 19:02:35 +0000
committerDavid S. Miller <[email protected]>2021-11-15 14:07:06 +0000
commitcc0be1ad686fb29a4d127948486f40b17fb34b50 (patch)
treef93536bfcdeaaa445d144fddca21ad7f53ac28d4 /net/unix/af_unix.c
parentnet: sched: sch_netem: Refactor code in 4-state loss generator (diff)
downloadkernel-cc0be1ad686fb29a4d127948486f40b17fb34b50.tar.gz
kernel-cc0be1ad686fb29a4d127948486f40b17fb34b50.zip
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 <[email protected]> Acked-by: Nikolay Aleksandrov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions