3c581421d0
Found with clang static analysis: drivers/net/cxgbe/sge.c:900:3: warning: Value stored to 'in_use' is never read in_use += q->size; ^ ~~~~~~~ Removing "in_use" variable makes "hw_cidx" variable unused, which is removed too. Fixes: 4a01078b4fd1 ("cxgbe: add Tx support") Cc: stable@dpdk.org Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com> Acked-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>