Commit 03f83041 authored by Jesse Brandeburg's avatar Jesse Brandeburg Committed by Jeff Garzik
Browse files

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: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 7490d71a
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
@@ -719,9 +719,8 @@ ixgb_setup_fc(struct ixgb_hw *hw)
	/* Write the new settings */
	IXGB_WRITE_REG(hw, CTRL0, ctrl_reg);

	if (pap_reg != 0) {
	if (pap_reg != 0)
		IXGB_WRITE_REG(hw, PAP, pap_reg);
	}

	/* Set the flow control receive threshold registers.  Normally,
	 * these registers will be set to a default threshold that may be
+70 −71
Original line number Diff line number Diff line
@@ -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)
		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;
	}

	i = tx_ring->next_to_use;

+15 −15

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

+34 −34

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

Loading