Skip to contentSkip to conversation

infiniband: remove set but not used variables 'rv'

PATCH Jason Gunthorpe 1 participant 1 message Jul 11, 2019 Kernel janitors

lore
Share & tools
lore
#0 lore raw
Quoted 10 lines · Mao Wenan

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/infiniband/sw/siw/siw_main.c: In function siw_create_tx_threads:
drivers/infiniband/sw/siw/siw_main.c:91:11: warning: variable rv set but not used [-Wunused-but-set-variable]

It is never used since introduction in bdcf26bf9b3a ("rdma/siw: network and RDMA core interface")

 drivers/infiniband/sw/siw/siw_main.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

This was already fixed, thanks

Jason