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

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
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
@@ -1850,13 +1850,12 @@ static void igb_config_tx_modes(struct igb_adapter *adapter, int queue)
	 * configuration' in respect to these parameters.
	 */

	netdev_dbg(netdev, "Qav Tx mode: cbs %s, launchtime %s, queue %d \
			    idleslope %d sendslope %d hiCredit %d \
			    locredit %d\n",
		   (ring->cbs_enable) ? "enabled" : "disabled",
		   (ring->launchtime_enable) ? "enabled" : "disabled", queue,
		   ring->idleslope, ring->sendslope, ring->hicredit,
		   ring->locredit);
	netdev_dbg(netdev, "Qav Tx mode: cbs %s, launchtime %s, queue %d idleslope %d sendslope %d hiCredit %d locredit %d\n",
		   ring->cbs_enable ? "enabled" : "disabled",
		   ring->launchtime_enable ? "enabled" : "disabled",
		   queue,
		   ring->idleslope, ring->sendslope,
		   ring->hicredit, ring->locredit);
}

static int igb_save_txtime_params(struct igb_adapter *adapter, int queue,