diff options
author | Grant Grundler <grundler@chromium.org> | 2022-05-09 19:28:24 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-05-11 12:25:07 +0100 |
commit | 79784d77ebbd3ec516b7a5ce555d979fb7946202 (patch) | |
tree | f22fec681f68b87219239177ae184bd90a2a119e /drivers/acpi/acpica/evmisc.c | |
parent | 62e0ae0f4020250f961cf8d0103a4621be74e077 (diff) |
net: atlantic: reduce scope of is_rsc_complete
Don't defer handling the err case outside the loop. That's pointless.
And since is_rsc_complete is only used inside this loop, declare
it inside the loop to reduce it's scope.
Signed-off-by: Grant Grundler <grundler@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/acpi/acpica/evmisc.c')
0 files changed, 0 insertions, 0 deletions