igb: Fix format with line continuation whitespace
authorJoe Perches <joe@perches.com>
Thu, 1 Nov 2018 07:03:31 +0000 (00:03 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 21 Nov 2018 18:22:10 +0000 (10:22 -0800)
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: Joe Perches <joe@perches.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Acked-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c

index 4584ebc9e8fe68acabaeaaf05fac76a9c5c50917..4331ea71b86e5c3d05d487425d219f4b32329141 100644 (file)
@@ -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,