net/hns3: remove unnecessary assignments in Tx
authorWei Hu (Xavier) <xavier.huwei@huawei.com>
Sat, 21 Dec 2019 10:32:52 +0000 (18:32 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:01 +0000 (19:46 +0100)
commit27f97077853de6f6f55f3d9411657d57809f0123
treefc0628671799c0651ea28d30a4825b2b35cba159
parent02aa899d600059560ab7392ff13e111a497c44da
net/hns3: remove unnecessary assignments in Tx

This patch removes the unnecessary assignment in the '.tx_pkt_burst' ops
implementation function to avoid performance loss.

Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Yisen Zhuang <yisen.zhuang@huawei.com>
drivers/net/hns3/hns3_rxtx.c