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: tvlv: extract tvlv header iterator
batadv_tvlv_containers_contain() and batadv_tvlv_containers_process() are using the same code to iterate through the TVLV containers. To simplify the code, extract the shared portions of both functions. Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
parent
ba2d97e873
commit
278e589070
1 changed files with 51 additions and 35 deletions
Loading…
Add table
Add a link
Reference in a new issue