aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorSean Wang <[email protected]>2016-09-20 11:26:48 +0800
committerDavid S. Miller <[email protected]>2016-09-21 00:06:32 -0400
commit94d308d060cd3ee65152b8ebd7a1c24fa86eee82 (patch)
tree677122b5da6f665be54f4a7600a011278969fb50 /lib/cpu-notifier-error-inject.c
parent8847293992606677d5e446d1e712bd128ea7977f (diff)
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions