Re: [PATCH net-next] net: ethernet: mediatek: enhance with avoiding superfluous assignment inside mtk_get_ethtool_stats
From:Date: Tue, 20 Sep 2016 11:26:48 +0800 > From: Sean Wang > > 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
[PATCH net-next] net: ethernet: mediatek: enhance with avoiding superfluous assignment inside mtk_get_ethtool_stats
From: Sean Wangdata_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 --- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 3 ++- 1 file changed, 2