aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igb/igb.h
diff options
context:
space:
mode:
authorBenjamin Poirier <bpoirier@suse.com>2017-05-16 15:55:16 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2017-06-06 01:04:13 -0700
commit81e3f64a9b2d837717a58606d9f22420a47fdf68 (patch)
tree33f9494046c18fc5acf5ae3d89707c4d5b889295 /drivers/net/ethernet/intel/igb/igb.h
parentigb: check for Tx timestamp timeouts during watchdog (diff)
downloadlinux-dev-81e3f64a9b2d837717a58606d9f22420a47fdf68.tar.xz
linux-dev-81e3f64a9b2d837717a58606d9f22420a47fdf68.zip
igb: Remove useless argument
Given that all callers of igb_update_stats() pass the same two arguments: (adapter, &adapter->stats64), the second argument can be removed. Signed-off-by: Benjamin Poirier <bpoirier@suse.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.h')
-rw-r--r--drivers/net/ethernet/intel/igb/igb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/igb/igb.h b/drivers/net/ethernet/intel/igb/igb.h
index ff4d9073781a..06ffb2bc713e 100644
--- a/drivers/net/ethernet/intel/igb/igb.h
+++ b/drivers/net/ethernet/intel/igb/igb.h
@@ -667,7 +667,7 @@ void igb_setup_tctl(struct igb_adapter *);
void igb_setup_rctl(struct igb_adapter *);
netdev_tx_t igb_xmit_frame_ring(struct sk_buff *, struct igb_ring *);
void igb_alloc_rx_buffers(struct igb_ring *, u16);
-void igb_update_stats(struct igb_adapter *, struct rtnl_link_stats64 *);
+void igb_update_stats(struct igb_adapter *);
bool igb_has_link(struct igb_adapter *adapter);
void igb_set_ethtool_ops(struct net_device *);
void igb_power_up_link(struct igb_adapter *);