diff options
author | Sean Wang <sean.wang@mediatek.com> | 2016-09-20 05:26:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-21 06:06:32 +0200 |
commit | 94d308d060cd3ee65152b8ebd7a1c24fa86eee82 (patch) | |
tree | 677122b5da6f665be54f4a7600a011278969fb50 /net/ipv4/tcp_cdg.c | |
parent | net: dsa: mv88e6xxx: handle multiple ports in ATU (diff) | |
download | linux-94d308d060cd3ee65152b8ebd7a1c24fa86eee82.tar.xz linux-94d308d060cd3ee65152b8ebd7a1c24fa86eee82.zip |
net: ethernet: mediatek: enhance with avoiding superfluous assignment inside mtk_get_ethtool_stats
data_src is unchanged inside the loop, so this patch moves
the assignment to outside the loop to avoid unnecessarily
assignment
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_cdg.c')
0 files changed, 0 insertions, 0 deletions