Files
linux/net
Sven Eckelmann 4549e49abb batman-adv: switch var declarations to reverse x-mas tree order
The network related code should use for local variable declarations an
ordering scheme which orders lines longest to shortest. Initializations
should only be kept in the declarations when the dependencies between them
are not preventing the reverse x-mas tree order.

Many functions are already using this order. The remaining ones were
supposed to slowly convert to the x-mas tree order when working on them.
But this never happened because the patches tried to only modify the
relevant lines. Instead of getting better, the order often just became
worse.

Just fix the remaining offending functions to finally solve this coding
style (minor) problem. The anonymous dhcp structs were only extracted to
have a clean reverse x-mas tree in functions and are not yet meant as an
opportunity for further cleanups.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2026-08-04 17:33:05 +02:00
..
2026-05-10 10:11:07 -07:00
2026-05-10 10:11:08 -07:00