Skip to content
Commit 723d5e5b authored by Zheng zengkai's avatar Zheng zengkai Committed by David S. Miller
Browse files

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 4863dea3("net: Adding support for Cavium ThunderX network controller"),
so remove it.

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarZheng zengkai <zhengzengkai@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 52015366
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment