commit | 3624aa3c2582e4b9097e7648f6f03c82e474ceb8 | [log] [tgz] |
---|---|---|
author | Mark Starovoytov <mstarovoitov@marvell.com> | Mon Jul 20 21:32:33 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 20 18:07:38 2020 -0700 |
tree | 7ec753d9fb1e32cd55c70ed603939a45535704a0 | |
parent | 519f0cefb4bcac8faf76b2a7b4042fb950eea23e [diff] |
net: atlantic: use simple assignment in _get_stats and _get_sw_stats This patch replaces addition assignment operator with a simple assignment in aq_vec_get_stats() and aq_vec_get_sw_stats(), because it is sufficient in both cases and this change simplifies the introduction of u64_stats_update_* in these functions. 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>