Skip to content
Commit 2d1b336f authored by Grant Grundler's avatar Grant Grundler Committed by Greg Kroah-Hartman
Browse files

net: atlantic: reduce scope of is_rsc_complete



[ Upstream commit 79784d77 ]

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>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent d955f45d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment