openwrt/target/linux/realtek/files-5.15/drivers/net
Olliver Schinagl 0a83889e89 realtek: Reduce variable scopes
Linus prefers to have loop initializers nice and tightly scoped. In
OpenWRT this has been possible since 41a1a652fb ("kernel: backport
gnu11 upgrade").

This patch cleans up variable scope while trying to do the above for
'simple for loops'.

This cleans up and simplifies some functions and code, and pulls in
variables to a smaller scope.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2022-12-27 16:33:15 +01:00
..
dsa/rtl83xx realtek: Reduce variable scopes 2022-12-27 16:33:15 +01:00
ethernet realtek: Reduce variable scopes 2022-12-27 16:33:15 +01:00
phy realtek: Reduce variable scopes 2022-12-27 16:33:15 +01:00