]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: hns: remove useless variable assignment and comment
authorQianqian Xie <xieqianqian@huawei.com>
Thu, 24 Mar 2016 11:08:03 +0000 (19:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Mar 2016 18:33:06 +0000 (14:33 -0400)
commit1c3bae6e475fed5c570ac16fef2afe743c477886
treea4b9952797056efd2c5c77a00a6318b85f170ee3
parent055a94177dfa0bcbf2c4be475fef56bc80c9a233
net: hns: remove useless variable assignment and comment

The variable head in hns_nic_tx_fini_pro has read a value, but it is
obviously no use. The patch will fix it.
And the comment is nothing to do with the routine, so it has to be removed

Signed-off-by: Qianqian Xie <xieqianqian@huawei.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_enet.c