OSDN Git Service

net: atlantic: use intermediate variable to improve readability a bit
authorNikita Danilov <ndanilov@marvell.com>
Mon, 20 Jul 2020 18:32:42 +0000 (21:32 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2020 01:07:38 +0000 (18:07 -0700)
commitb98ffe6fa415a6ea5cbc7e8d58dd016e83fe33ea
tree2e26843e257ad0f98a223b593f1ddc795e8fd265
parent88bc9cf143a1f34978bcda21114cc81324c9e118
net: atlantic: use intermediate variable to improve readability a bit

This patch syncs up hw_atl_a0.c with an out-of-tree driver, where an
intermediate variable was introduced in a couple of functions to
improve the code readability a bit.

Signed-off-by: Nikita Danilov <ndanilov@marvell.com>
Signed-off-by: Mark Starovoytov <mstarovoitov@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c