net: bridge: fdb: convert is_static to bitops
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tue, 29 Oct 2019 11:45:54 +0000 (13:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Oct 2019 01:12:49 +0000 (18:12 -0700)
commit29e63fffd666f1945756882d4b02bc7bec132101
treefe7052e0d0c30c0a6bcb9ac3133fa3637465fdc0
parent6869c3b02b596eba931a754f56875d2e2ac612db
net: bridge: fdb: convert is_static to bitops

Convert the is_static to bitops, make use of the combined
test_and_set/clear_bit to simplify expressions in fdb_add_entry.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_fdb.c
net/bridge/br_private.h