Commit 4df3c543 authored by Joe Perches's avatar Joe Perches Committed by Jeff Kirsher

igb: Fix format with line continuation whitespace

The line continuation unintentionally adds whitespace so
instead use a coalesced format to remove the whitespace.

Miscellanea:

o Use a more typical style for ternaries and arguments
  for this logging message
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Acked-by: default avatarVinicius Costa Gomes <vinicius.gomes@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent b3c4d7c9
...@@ -1850,13 +1850,12 @@ static void igb_config_tx_modes(struct igb_adapter *adapter, int queue) ...@@ -1850,13 +1850,12 @@ static void igb_config_tx_modes(struct igb_adapter *adapter, int queue)
* configuration' in respect to these parameters. * configuration' in respect to these parameters.
*/ */
netdev_dbg(netdev, "Qav Tx mode: cbs %s, launchtime %s, queue %d \ netdev_dbg(netdev, "Qav Tx mode: cbs %s, launchtime %s, queue %d idleslope %d sendslope %d hiCredit %d locredit %d\n",
idleslope %d sendslope %d hiCredit %d \ ring->cbs_enable ? "enabled" : "disabled",
locredit %d\n", ring->launchtime_enable ? "enabled" : "disabled",
(ring->cbs_enable) ? "enabled" : "disabled", queue,
(ring->launchtime_enable) ? "enabled" : "disabled", queue, ring->idleslope, ring->sendslope,
ring->idleslope, ring->sendslope, ring->hicredit, ring->hicredit, ring->locredit);
ring->locredit);
} }
static int igb_save_txtime_params(struct igb_adapter *adapter, int queue, static int igb_save_txtime_params(struct igb_adapter *adapter, int queue,
......
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