openwrt/target/linux/realtek
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
..
base-files realtek: add support for TP-Link SG2210P 2022-09-13 09:22:26 +02:00
dts-5.10 realtek: update GPIO bindings for DGS-1210-10P 2022-12-09 00:13:51 +01:00
dts-5.15 realtek: copy dts/files/patches/configs for 5.15 2022-12-15 20:52:09 +01:00
files/firmware/rtl838x_phy
files-5.10 realtek: add cond_resched to loops accessing the FDB table 2022-12-27 16:29:57 +01:00
files-5.15 realtek: Reduce variable scopes 2022-12-27 16:33:15 +01:00
image realtek: Cleanup Makefiles 2022-12-27 16:33:15 +01:00
patches-5.10 realtek: 5.10: Fix incorrect switch patches 2022-12-24 11:56:21 +01:00
patches-5.15 realtek: 5.15: Fix incorrect switch patches 2022-12-24 11:56:21 +01:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: Cleanup Makefiles 2022-12-27 16:33:15 +01:00
rtl839x realtek: Cleanup Makefiles 2022-12-27 16:33:15 +01:00
rtl930x realtek: Cleanup Makefiles 2022-12-27 16:33:15 +01:00
rtl931x realtek: refresh config-5.15 in all subtargets 2022-12-15 20:52:40 +01:00
Makefile realtek: Cleanup Makefiles 2022-12-27 16:33:15 +01:00