]> git.baikalelectronics.ru Git - kernel.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)
commitf5ba371200095ded8923e6c33af67c885c123d65
treea4b9952797056efd2c5c77a00a6318b85f170ee3
parent7c706d8a6ac083db26c867c09840acb1458593ae
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