net: cxgb3: fix various indentation issues
There are handful of lines that have indentation issues, fix these. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4a06fa67c4
commit
2acc0abc88
|
@ -2381,7 +2381,7 @@ no_mem:
|
||||||
lro_add_page(adap, qs, fl,
|
lro_add_page(adap, qs, fl,
|
||||||
G_RSPD_LEN(len),
|
G_RSPD_LEN(len),
|
||||||
flags & F_RSPD_EOP);
|
flags & F_RSPD_EOP);
|
||||||
goto next_fl;
|
goto next_fl;
|
||||||
}
|
}
|
||||||
|
|
||||||
skb = get_packet_pg(adap, fl, q,
|
skb = get_packet_pg(adap, fl, q,
|
||||||
|
@ -3214,11 +3214,13 @@ void t3_start_sge_timers(struct adapter *adap)
|
||||||
for (i = 0; i < SGE_QSETS; ++i) {
|
for (i = 0; i < SGE_QSETS; ++i) {
|
||||||
struct sge_qset *q = &adap->sge.qs[i];
|
struct sge_qset *q = &adap->sge.qs[i];
|
||||||
|
|
||||||
if (q->tx_reclaim_timer.function)
|
if (q->tx_reclaim_timer.function)
|
||||||
mod_timer(&q->tx_reclaim_timer, jiffies + TX_RECLAIM_PERIOD);
|
mod_timer(&q->tx_reclaim_timer,
|
||||||
|
jiffies + TX_RECLAIM_PERIOD);
|
||||||
|
|
||||||
if (q->rx_reclaim_timer.function)
|
if (q->rx_reclaim_timer.function)
|
||||||
mod_timer(&q->rx_reclaim_timer, jiffies + RX_RECLAIM_PERIOD);
|
mod_timer(&q->rx_reclaim_timer,
|
||||||
|
jiffies + RX_RECLAIM_PERIOD);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1082,7 +1082,7 @@ int t3_check_fw_version(struct adapter *adapter)
|
||||||
CH_WARN(adapter, "found newer FW version(%u.%u), "
|
CH_WARN(adapter, "found newer FW version(%u.%u), "
|
||||||
"driver compiled for version %u.%u\n", major, minor,
|
"driver compiled for version %u.%u\n", major, minor,
|
||||||
FW_VERSION_MAJOR, FW_VERSION_MINOR);
|
FW_VERSION_MAJOR, FW_VERSION_MINOR);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
@ -3619,7 +3619,7 @@ int t3_reset_adapter(struct adapter *adapter)
|
||||||
|
|
||||||
static int init_parity(struct adapter *adap)
|
static int init_parity(struct adapter *adap)
|
||||||
{
|
{
|
||||||
int i, err, addr;
|
int i, err, addr;
|
||||||
|
|
||||||
if (t3_read_reg(adap, A_SG_CONTEXT_CMD) & F_CONTEXT_CMD_BUSY)
|
if (t3_read_reg(adap, A_SG_CONTEXT_CMD) & F_CONTEXT_CMD_BUSY)
|
||||||
return -EBUSY;
|
return -EBUSY;
|
||||||
|
@ -3806,6 +3806,6 @@ int t3_replay_prep_adapter(struct adapter *adapter)
|
||||||
p->phy.ops->power_down(&p->phy, 1);
|
p->phy.ops->power_down(&p->phy, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue