batman-adv: remove global hardif list

With interfaces being kept track of as iflink private data, there is no
need for the global list anymore. batadv_hardif_get_by_netdev() can now
use netdev_master_upper_dev_get()+netdev_lower_dev_get_private() to find
the hardif corresponding to a netdev.

Signed-off-by: Nora Schiffer <neocturne@universe-factory.net>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
Nora Schiffer 2026-06-28 17:07:29 +02:00 • committed by Sven Eckelmann
commit 49e9de6e12
No known key found for this signature in database
GPG key ID: 4D0F772BD314F5CB
6 changed files with 15 additions and 27 deletions