diff options
author | Carolyn Wyborny <carolyn.wyborny@intel.com> | 2014-04-10 21:46:33 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2014-04-24 20:26:30 -0400 |
commit | c502ea2ea82587ad4b152dab5521869789b8ad6c (patch) | |
tree | 641e6223be19284255af6dc0b85b78e09d294504 /drivers/net/ethernet/intel/igb/igb_main.c | |
parent | da1f1dfeb36550c5725ab62fcb8dca1c48ff34ba (diff) |
igb: Cleanups to fix line length warnings
This patch fixes WARNING:LONG_LINE found with checkpatch check.
Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/igb_main.c')
-rw-r--r-- | drivers/net/ethernet/intel/igb/igb_main.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c index a339a634afb2..93cac382857b 100644 --- a/drivers/net/ethernet/intel/igb/igb_main.c +++ b/drivers/net/ethernet/intel/igb/igb_main.c | |||
@@ -138,7 +138,7 @@ static void igb_watchdog(unsigned long); | |||
138 | static void igb_watchdog_task(struct work_struct *); | 138 | static void igb_watchdog_task(struct work_struct *); |
139 | static netdev_tx_t igb_xmit_frame(struct sk_buff *skb, struct net_device *); | 139 | static netdev_tx_t igb_xmit_frame(struct sk_buff *skb, struct net_device *); |
140 | static struct rtnl_link_stats64 *igb_get_stats64(struct net_device *dev, | 140 | static struct rtnl_link_stats64 *igb_get_stats64(struct net_device *dev, |
141 | struct rtnl_link_stats64 *stats); | 141 | struct rtnl_link_stats64 *stats); |
142 | static int igb_change_mtu(struct net_device *, int); | 142 | static int igb_change_mtu(struct net_device *, int); |
143 | static int igb_set_mac(struct net_device *, void *); | 143 | static int igb_set_mac(struct net_device *, void *); |
144 | static void igb_set_uta(struct igb_adapter *adapter); | 144 | static void igb_set_uta(struct igb_adapter *adapter); |
@@ -156,7 +156,8 @@ static bool igb_clean_rx_irq(struct igb_q_vector *, int); | |||
156 | static int igb_ioctl(struct net_device *, struct ifreq *, int cmd); | 156 | static int igb_ioctl(struct net_device *, struct ifreq *, int cmd); |
157 | static void igb_tx_timeout(struct net_device *); | 157 | static void igb_tx_timeout(struct net_device *); |
158 | static void igb_reset_task(struct work_struct *); | 158 | static void igb_reset_task(struct work_struct *); |
159 | static void igb_vlan_mode(struct net_device *netdev, netdev_features_t features); | 159 | static void igb_vlan_mode(struct net_device *netdev, |
160 | netdev_features_t features); | ||
160 | static int igb_vlan_rx_add_vid(struct net_device *, __be16, u16); | 161 | static int igb_vlan_rx_add_vid(struct net_device *, __be16, u16); |
161 | static int igb_vlan_rx_kill_vid(struct net_device *, __be16, u16); | 162 | static int igb_vlan_rx_kill_vid(struct net_device *, __be16, u16); |
162 | static void igb_restore_vlan(struct igb_adapter *); | 163 | static void igb_restore_vlan(struct igb_adapter *); |
@@ -3388,7 +3389,8 @@ static void igb_setup_mrqc(struct igb_adapter *adapter) | |||
3388 | 3389 | ||
3389 | if (adapter->rss_indir_tbl_init != num_rx_queues) { | 3390 | if (adapter->rss_indir_tbl_init != num_rx_queues) { |
3390 | for (j = 0; j < IGB_RETA_SIZE; j++) | 3391 | for (j = 0; j < IGB_RETA_SIZE; j++) |
3391 | adapter->rss_indir_tbl[j] = (j * num_rx_queues) / IGB_RETA_SIZE; | 3392 | adapter->rss_indir_tbl[j] = |
3393 | (j * num_rx_queues) / IGB_RETA_SIZE; | ||
3392 | adapter->rss_indir_tbl_init = num_rx_queues; | 3394 | adapter->rss_indir_tbl_init = num_rx_queues; |
3393 | } | 3395 | } |
3394 | igb_write_rss_indir_tbl(adapter); | 3396 | igb_write_rss_indir_tbl(adapter); |