]> Git Repo - linux.git/commit
net: atlantic: reduce scope of is_rsc_complete
authorGrant Grundler <[email protected]>
Tue, 10 May 2022 02:28:24 +0000 (19:28 -0700)
committerDavid S. Miller <[email protected]>
Wed, 11 May 2022 11:25:07 +0000 (12:25 +0100)
commit79784d77ebbd3ec516b7a5ce555d979fb7946202
treef22fec681f68b87219239177ae184bd90a2a119e
parent62e0ae0f4020250f961cf8d0103a4621be74e077
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/aquantia/atlantic/aq_ring.c
This page took 0.053197 seconds and 4 git commands to generate.