net: cxgb4: fix various indentation issues
There are some 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
2acc0abc88
commit
fd21c89b87
|
@ -378,10 +378,10 @@ static void cxgb4_init_ptp_timer(struct adapter *adapter)
|
|||
int err;
|
||||
|
||||
memset(&c, 0, sizeof(c));
|
||||
c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) |
|
||||
FW_CMD_REQUEST_F |
|
||||
FW_CMD_WRITE_F |
|
||||
FW_PTP_CMD_PORTID_V(0));
|
||||
c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) |
|
||||
FW_CMD_REQUEST_F |
|
||||
FW_CMD_WRITE_F |
|
||||
FW_PTP_CMD_PORTID_V(0));
|
||||
c.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(sizeof(c) / 16));
|
||||
c.u.scmd.sc = FW_PTP_SC_INIT_TIMER;
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@ static void free_msix_idx_in_bmap(struct adapter *adap, unsigned int msix_idx)
|
|||
unsigned long flags;
|
||||
|
||||
spin_lock_irqsave(&bmap->lock, flags);
|
||||
__clear_bit(msix_idx, bmap->msix_bmap);
|
||||
__clear_bit(msix_idx, bmap->msix_bmap);
|
||||
spin_unlock_irqrestore(&bmap->lock, flags);
|
||||
}
|
||||
|
||||
|
|
|
@ -3794,7 +3794,7 @@ int t4_load_phy_fw(struct adapter *adap,
|
|||
/* If we have version number support, then check to see if the adapter
|
||||
* already has up-to-date PHY firmware loaded.
|
||||
*/
|
||||
if (phy_fw_version) {
|
||||
if (phy_fw_version) {
|
||||
new_phy_fw_vers = phy_fw_version(phy_fw_data, phy_fw_size);
|
||||
ret = t4_phy_fw_ver(adap, &cur_phy_fw_ver);
|
||||
if (ret < 0)
|
||||
|
|
Loading…
Reference in New Issue