OpenCloudOS-Kernel/drivers/net/ethernet/cavium
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
..
common net: cavium: Register driver with PCI subsys IDs 2020-03-02 11:13:58 -08:00
liquidio liquidio: remove set but not used variable 's' 2020-03-19 21:00:14 -07:00
octeon net/cavium: Delete N/A assignments for ethtool 2020-03-03 17:54:54 -08:00
thunder net: thunderx: remove set but not used variable 'tail' 2020-03-23 21:53:32 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00