openwrt/target/linux/realtek/files-5.15/drivers/net/phy
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
..
rtl83xx-phy.c realtek: Reduce variable scopes 2022-12-27 16:33:15 +01:00
rtl83xx-phy.h realtek: Replace C++ style comments 2022-12-27 16:33:01 +01:00