Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: atlantic: reduce scope of is_rsc_complete
[ Upstream commit 79784d7 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information