Skip to content
Commit 79784d77 authored by Grant Grundler's avatar Grant Grundler Committed by David S. Miller
Browse files

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: default avatarGrant Grundler <grundler@chromium.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 62e0ae0f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment