diff options
author | Olliver Schinagl <oliver@schinagl.nl> | 2022-12-22 11:53:30 +0100 |
---|---|---|
committer | Sander Vanheule <sander@svanheule.net> | 2022-12-27 16:33:15 +0100 |
commit | 0a83889e89b7213ea8f6eac21de50ffa3ae5a606 (patch) | |
tree | 2cbdc779663e8eb848cbe3242bc5923c3922491f /scripts/clean-package.sh | |
parent | 94d8b4852b9ff0063cddfda13a96fb5449f3bd6d (diff) | |
download | upstream-0a83889e89b7213ea8f6eac21de50ffa3ae5a606.tar.gz upstream-0a83889e89b7213ea8f6eac21de50ffa3ae5a606.tar.bz2 upstream-0a83889e89b7213ea8f6eac21de50ffa3ae5a606.zip |
realtek: Reduce variable scopes
Linus prefers to have loop initializers nice and tightly scoped. In
OpenWRT this has been possible since 41a1a652fbd4 ("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>
Diffstat (limited to 'scripts/clean-package.sh')
0 files changed, 0 insertions, 0 deletions