Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3caf861 authored by Ganesh Goudar's avatar Ganesh Goudar Committed by David S. Miller
Browse files

cxgb4: Remove redundant code in t4_uld_clean_up()



Remove variable rxq_info and also remove redundant assignment
to it.

Signed-off-by: default avatarGanesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5d071c24
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -591,7 +591,6 @@ void t4_uld_mem_free(struct adapter *adap)


void t4_uld_clean_up(struct adapter *adap)
void t4_uld_clean_up(struct adapter *adap)
{
{
	struct sge_uld_rxq_info *rxq_info;
	unsigned int i;
	unsigned int i;


	if (!adap->uld)
	if (!adap->uld)
@@ -599,7 +598,6 @@ void t4_uld_clean_up(struct adapter *adap)
	for (i = 0; i < CXGB4_ULD_MAX; i++) {
	for (i = 0; i < CXGB4_ULD_MAX; i++) {
		if (!adap->uld[i].handle)
		if (!adap->uld[i].handle)
			continue;
			continue;
		rxq_info = adap->sge.uld_rxq_info[i];
		if (adap->flags & FULL_INIT_DONE)
		if (adap->flags & FULL_INIT_DONE)
			quiesce_rx_uld(adap, i);
			quiesce_rx_uld(adap, i);
		if (adap->flags & USING_MSIX)
		if (adap->flags & USING_MSIX)