linux_dsm_epyc7002/drivers/net/ethernet/cavium/thunder
Zheng zengkai 723d5e5b81 net: thunderx: remove set but not used variable 'tail'
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/ethernet/cavium/thunder/nicvf_queues.c: In function nicvf_sq_free_used_descs:
drivers/net/ethernet/cavium/thunder/nicvf_queues.c:1182:12: warning:
 variable tail set but not used [-Wunused-but-set-variable]

It's not used since commit 4863dea3fab01("net: Adding support for Cavium ThunderX network controller"),
so remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zheng zengkai <zhengzengkai@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-03-23 21:53:32 -07:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nic_main.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 206 2019-05-30 11:29:53 -07:00
nic_reg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 206 2019-05-30 11:29:53 -07:00
nic.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 206 2019-05-30 11:29:53 -07:00
nicvf_ethtool.c net/cavium: Clean driver versions 2020-03-03 17:54:54 -08:00
nicvf_main.c net: thunderx: Reduce mbox wait response time. 2020-03-02 11:13:58 -08:00
nicvf_queues.c net: thunderx: remove set but not used variable 'tail' 2020-03-23 21:53:32 -07:00
nicvf_queues.h net: thunderx: Adjust CQE_RX drop levels for better performance 2020-03-02 11:13:58 -08:00
q_struct.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 206 2019-05-30 11:29:53 -07:00
thunder_bgx.c net: thunderx: workaround BGX TX Underflow issue 2020-02-20 15:49:20 -08:00
thunder_bgx.h net: thunderx: workaround BGX TX Underflow issue 2020-02-20 15:49:20 -08:00
thunder_xcv.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 206 2019-05-30 11:29:53 -07:00