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: drop unnecessary cleanup goto in helpers
To use scoped_guard(), it is not allowed to use goto in the same routine. These goto's should only be used for cleanups but are not necessary of minimal helpers like batadv_is_my_client(), batadv_tt_global_client_is_roaming() and batadv_tt_local_client_is_roaming(). Removing the goto's is actually making these functions more readable. Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
parent
e103fbefa0
commit
52d8c713f4
1 changed files with 12 additions and 13 deletions
Loading…
Add table
Add a link
Reference in a new issue