pktgen: remove unnecessary assignment in pktgen_xmit()
authorYunsheng Lin <linyunsheng@huawei.com>
Thu, 17 Oct 2019 10:34:13 +0000 (18:34 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Oct 2019 18:25:13 +0000 (14:25 -0400)
commita8c41a68076e88d24fd7c0ac39de93654a298594
tree7d40de45403dee94f7fbacaeb5889b7cb423473a
parent2203cbf2c8b58a1e3bef98c47531d431d11639a0
pktgen: remove unnecessary assignment in pktgen_xmit()

variable ret is not used after jumping to "unlock" label, so
the assignment is redundant.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c