Thread (2 messages) read the whole thread 2 messages, 2 authors, 2020-03-24

Re: [PATCH net-next] net: thunderx: remove set but not used variable 'tail'

From: David Miller <davem@davemloft.net>
Date: 2020-03-24 04:54:25
Also in: bpf, linux-arm-kernel, lkml

From: Zheng Zengkai <redacted>
Date: Mon, 23 Mar 2020 14:51:16 +0800
From: Zheng zengkai <redacted>

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 <redacted>
Signed-off-by: Zheng zengkai <redacted>
Applied, thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help