aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_main.c
diff options
context:
space:
mode:
authorDon Skidmore <donald.c.skidmore@intel.com>2011-01-27 21:28:31 -0500
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-02-11 11:56:39 -0500
commit32f754667e66870773e40116687b6849963152f5 (patch)
treee5646b7a6cc914a6ce337a1dca41cd794164d63b /drivers/net/ixgbe/ixgbe_main.c
parent3b2ee94300277220452332d2ebadf5b5699947b5 (diff)
ixgbe: cleanup namespace complaint by removing little used function
We had a support function that just walked a few pointers to get from the ixgbe_hw struct to the netdev pointer. This was causing a namespace warning so I removed it and just reference the pointers directly. Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com> Tested-by: Stephen Ko <stephen.s.ko@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_main.c')
-rw-r--r--drivers/net/ixgbe/ixgbe_main.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
index 34fdda21dba3..4a6bcb66d2a8 100644
--- a/drivers/net/ixgbe/ixgbe_main.c
+++ b/drivers/net/ixgbe/ixgbe_main.c
@@ -7707,16 +7707,6 @@ static int ixgbe_notify_dca(struct notifier_block *nb, unsigned long event,
7707 7707
7708#endif /* CONFIG_IXGBE_DCA */ 7708#endif /* CONFIG_IXGBE_DCA */
7709 7709
7710/**
7711 * ixgbe_get_hw_dev return device
7712 * used by hardware layer to print debugging information
7713 **/
7714struct net_device *ixgbe_get_hw_dev(struct ixgbe_hw *hw)
7715{
7716 struct ixgbe_adapter *adapter = hw->back;
7717 return adapter->netdev;
7718}
7719
7720module_exit(ixgbe_exit_module); 7710module_exit(ixgbe_exit_module);
7721 7711
7722/* ixgbe_main.c */ 7712/* ixgbe_main.c */