Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cxgb4: Remove redundant code in t4_uld_clean_up()

Remove variable rxq_info and also remove redundant assignment
to it.

Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Ganesh Goudar and committed by
David S. Miller
f3caf861 5d071c24

-2
-2
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
··· 591 591 592 592 void t4_uld_clean_up(struct adapter *adap) 593 593 { 594 - struct sge_uld_rxq_info *rxq_info; 595 594 unsigned int i; 596 595 597 596 if (!adap->uld) ··· 598 599 for (i = 0; i < CXGB4_ULD_MAX; i++) { 599 600 if (!adap->uld[i].handle) 600 601 continue; 601 - rxq_info = adap->sge.uld_rxq_info[i]; 602 602 if (adap->flags & FULL_INIT_DONE) 603 603 quiesce_rx_uld(adap, i); 604 604 if (adap->flags & USING_MSIX)