mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
batman-adv: tt: simplify NEW flag transition code
The function batadv_tt_local_set_flags() implements support for various flags and to set/unset them. It is also possible to decide whether this change should increase the TT size or not. But in reality, this function is only used to transition tt local entries from the NEW state and count these entries. Remove the rest of the code to simplify the function. Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
parent
fd8d892c68
commit
e103fbefa0
1 changed files with 7 additions and 19 deletions
Loading…
Add table
Add a link
Reference in a new issue