aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbevf
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-23 14:37:59 -0400
committerJoe Perches <joe@perches.com>2013-09-24 15:51:37 -0400
commit5ccc921af41a862fe969809228f029035f851502 (patch)
tree2147a9de3f7c5b9320aa651df6b35f2ae1897fc4 /drivers/net/ethernet/intel/ixgbevf
parentd4cb2ee17dbb9fb636e5e127e8cb6cbde9d28cef (diff)
intel: Remove extern from function prototypes
There are a mix of function prototypes with and without extern in the kernel sources. Standardize on not using extern for function prototypes. Function prototypes don't need to be written with extern. extern is assumed by the compiler. Its use is as unnecessary as using auto to declare automatic/local variables in a block. Signed-off-by: Joe Perches <joe@perches.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbevf')
-rw-r--r--drivers/net/ethernet/intel/ixgbevf/ixgbevf.h34
1 files changed, 15 insertions, 19 deletions
diff --git a/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h b/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
index fff0d9867529..64a2b912e73c 100644
--- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
+++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
@@ -281,27 +281,23 @@ extern const struct ixgbe_mbx_operations ixgbevf_mbx_ops;
281extern const char ixgbevf_driver_name[]; 281extern const char ixgbevf_driver_name[];
282extern const char ixgbevf_driver_version[]; 282extern const char ixgbevf_driver_version[];
283 283
284extern void ixgbevf_up(struct ixgbevf_adapter *adapter); 284void ixgbevf_up(struct ixgbevf_adapter *adapter);
285extern void ixgbevf_down(struct ixgbevf_adapter *adapter); 285void ixgbevf_down(struct ixgbevf_adapter *adapter);
286extern void ixgbevf_reinit_locked(struct ixgbevf_adapter *adapter); 286void ixgbevf_reinit_locked(struct ixgbevf_adapter *adapter);
287extern void ixgbevf_reset(struct ixgbevf_adapter *adapter); 287void ixgbevf_reset(struct ixgbevf_adapter *adapter);
288extern void ixgbevf_set_ethtool_ops(struct net_device *netdev); 288void ixgbevf_set_ethtool_ops(struct net_device *netdev);
289extern int ixgbevf_setup_rx_resources(struct ixgbevf_adapter *, 289int ixgbevf_setup_rx_resources(struct ixgbevf_adapter *, struct ixgbevf_ring *);
290 struct ixgbevf_ring *); 290int ixgbevf_setup_tx_resources(struct ixgbevf_adapter *, struct ixgbevf_ring *);
291extern int ixgbevf_setup_tx_resources(struct ixgbevf_adapter *, 291void ixgbevf_free_rx_resources(struct ixgbevf_adapter *, struct ixgbevf_ring *);
292 struct ixgbevf_ring *); 292void ixgbevf_free_tx_resources(struct ixgbevf_adapter *, struct ixgbevf_ring *);
293extern void ixgbevf_free_rx_resources(struct ixgbevf_adapter *, 293void ixgbevf_update_stats(struct ixgbevf_adapter *adapter);
294 struct ixgbevf_ring *); 294int ethtool_ioctl(struct ifreq *ifr);
295extern void ixgbevf_free_tx_resources(struct ixgbevf_adapter *, 295
296 struct ixgbevf_ring *); 296void ixgbe_napi_add_all(struct ixgbevf_adapter *adapter);
297extern void ixgbevf_update_stats(struct ixgbevf_adapter *adapter); 297void ixgbe_napi_del_all(struct ixgbevf_adapter *adapter);
298extern int ethtool_ioctl(struct ifreq *ifr);
299
300extern void ixgbe_napi_add_all(struct ixgbevf_adapter *adapter);
301extern void ixgbe_napi_del_all(struct ixgbevf_adapter *adapter);
302 298
303#ifdef DEBUG 299#ifdef DEBUG
304extern char *ixgbevf_get_hw_dev_name(struct ixgbe_hw *hw); 300char *ixgbevf_get_hw_dev_name(struct ixgbe_hw *hw);
305#define hw_dbg(hw, format, arg...) \ 301#define hw_dbg(hw, format, arg...) \
306 printk(KERN_DEBUG "%s: " format, ixgbevf_get_hw_dev_name(hw), ##arg) 302 printk(KERN_DEBUG "%s: " format, ixgbevf_get_hw_dev_name(hw), ##arg)
307#else 303#else