Commit 8441dab2 authored by Jesse Brandeburg's avatar Jesse Brandeburg Committed by Jeff Garzik

ixgb: cleanup checkpatch suggestions that are relevant

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 1459336d
...@@ -363,7 +363,7 @@ ixgb_check_options(struct ixgb_adapter *adapter) ...@@ -363,7 +363,7 @@ ixgb_check_options(struct ixgb_adapter *adapter)
adapter->hw.fc.high_water = opt.def; adapter->hw.fc.high_water = opt.def;
} }
if (!(adapter->hw.fc.type & ixgb_fc_tx_pause) ) if (!(adapter->hw.fc.type & ixgb_fc_tx_pause) )
printk (KERN_INFO printk(KERN_INFO
"Ignoring RxFCHighThresh when no RxFC\n"); "Ignoring RxFCHighThresh when no RxFC\n");
} }
{ /* Receive Flow Control Low Threshold */ { /* Receive Flow Control Low Threshold */
...@@ -383,7 +383,7 @@ ixgb_check_options(struct ixgb_adapter *adapter) ...@@ -383,7 +383,7 @@ ixgb_check_options(struct ixgb_adapter *adapter)
adapter->hw.fc.low_water = opt.def; adapter->hw.fc.low_water = opt.def;
} }
if (!(adapter->hw.fc.type & ixgb_fc_tx_pause) ) if (!(adapter->hw.fc.type & ixgb_fc_tx_pause) )
printk (KERN_INFO printk(KERN_INFO
"Ignoring RxFCLowThresh when no RxFC\n"); "Ignoring RxFCLowThresh when no RxFC\n");
} }
{ /* Flow Control Pause Time Request*/ { /* Flow Control Pause Time Request*/
...@@ -404,7 +404,7 @@ ixgb_check_options(struct ixgb_adapter *adapter) ...@@ -404,7 +404,7 @@ ixgb_check_options(struct ixgb_adapter *adapter)
adapter->hw.fc.pause_time = opt.def; adapter->hw.fc.pause_time = opt.def;
} }
if (!(adapter->hw.fc.type & ixgb_fc_tx_pause) ) if (!(adapter->hw.fc.type & ixgb_fc_tx_pause) )
printk (KERN_INFO printk(KERN_INFO
"Ignoring FCReqTimeout when no RxFC\n"); "Ignoring FCReqTimeout when no RxFC\n");
} }
/* high low and spacing check for rx flow control thresholds */ /* high low and spacing check for rx flow control thresholds */
...@@ -412,7 +412,7 @@ ixgb_check_options(struct ixgb_adapter *adapter) ...@@ -412,7 +412,7 @@ ixgb_check_options(struct ixgb_adapter *adapter)
/* high must be greater than low */ /* high must be greater than low */
if (adapter->hw.fc.high_water < (adapter->hw.fc.low_water + 8)) { if (adapter->hw.fc.high_water < (adapter->hw.fc.low_water + 8)) {
/* set defaults */ /* set defaults */
printk (KERN_INFO printk(KERN_INFO
"RxFCHighThresh must be >= (RxFCLowThresh + 8), " "RxFCHighThresh must be >= (RxFCLowThresh + 8), "
"Using Defaults\n"); "Using Defaults\n");
adapter->hw.fc.high_water = DEFAULT_FCRTH; adapter->hw.fc.high_water = DEFAULT_FCRTH;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment