ixgb: format all if( to be if (
this patch is trivial but because I want to have everything be nice and tidy I'm updating it. Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
committed by
Jeff Garzik
parent
7490d71a92
commit
03f83041d8
@@ -719,9 +719,8 @@ ixgb_setup_fc(struct ixgb_hw *hw)
|
|||||||
/* Write the new settings */
|
/* Write the new settings */
|
||||||
IXGB_WRITE_REG(hw, CTRL0, ctrl_reg);
|
IXGB_WRITE_REG(hw, CTRL0, ctrl_reg);
|
||||||
|
|
||||||
if (pap_reg != 0) {
|
if (pap_reg != 0)
|
||||||
IXGB_WRITE_REG(hw, PAP, pap_reg);
|
IXGB_WRITE_REG(hw, PAP, pap_reg);
|
||||||
}
|
|
||||||
|
|
||||||
/* Set the flow control receive threshold registers. Normally,
|
/* Set the flow control receive threshold registers. Normally,
|
||||||
* these registers will be set to a default threshold that may be
|
* these registers will be set to a default threshold that may be
|
||||||
|
@@ -1357,9 +1357,8 @@ ixgb_tx_queue(struct ixgb_adapter *adapter, int count, int vlan_id,int tx_flags)
|
|||||||
if (tx_flags & IXGB_TX_FLAGS_CSUM)
|
if (tx_flags & IXGB_TX_FLAGS_CSUM)
|
||||||
popts |= IXGB_TX_DESC_POPTS_TXSM;
|
popts |= IXGB_TX_DESC_POPTS_TXSM;
|
||||||
|
|
||||||
if(tx_flags & IXGB_TX_FLAGS_VLAN) {
|
if (tx_flags & IXGB_TX_FLAGS_VLAN)
|
||||||
cmd_type_len |= IXGB_TX_DESC_CMD_VLE;
|
cmd_type_len |= IXGB_TX_DESC_CMD_VLE;
|
||||||
}
|
|
||||||
|
|
||||||
i = tx_ring->next_to_use;
|
i = tx_ring->next_to_use;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user