Use standard format for net_device_ops (without &)

Signed-off-by: Stephen Hemminger <shemmin...@vyatta.com>

--- a/drivers/net/ixgbevf/ixgbevf_main.c        2011-06-08 11:02:37.000000000 
-0700
+++ b/drivers/net/ixgbevf/ixgbevf_main.c        2011-06-08 11:06:23.278233318 
-0700
@@ -3249,18 +3249,18 @@ static void ixgbevf_shutdown(struct pci_
 }
 
 static const struct net_device_ops ixgbe_netdev_ops = {
-       .ndo_open               = &ixgbevf_open,
-       .ndo_stop               = &ixgbevf_close,
-       .ndo_start_xmit         = &ixgbevf_xmit_frame,
-       .ndo_set_rx_mode        = &ixgbevf_set_rx_mode,
-       .ndo_set_multicast_list = &ixgbevf_set_rx_mode,
+       .ndo_open               = ixgbevf_open,
+       .ndo_stop               = ixgbevf_close,
+       .ndo_start_xmit         = ixgbevf_xmit_frame,
+       .ndo_set_rx_mode        = ixgbevf_set_rx_mode,
+       .ndo_set_multicast_list = ixgbevf_set_rx_mode,
        .ndo_validate_addr      = eth_validate_addr,
-       .ndo_set_mac_address    = &ixgbevf_set_mac,
-       .ndo_change_mtu         = &ixgbevf_change_mtu,
-       .ndo_tx_timeout         = &ixgbevf_tx_timeout,
-       .ndo_vlan_rx_register   = &ixgbevf_vlan_rx_register,
-       .ndo_vlan_rx_add_vid    = &ixgbevf_vlan_rx_add_vid,
-       .ndo_vlan_rx_kill_vid   = &ixgbevf_vlan_rx_kill_vid,
+       .ndo_set_mac_address    = ixgbevf_set_mac,
+       .ndo_change_mtu         = ixgbevf_change_mtu,
+       .ndo_tx_timeout         = ixgbevf_tx_timeout,
+       .ndo_vlan_rx_register   = ixgbevf_vlan_rx_register,
+       .ndo_vlan_rx_add_vid    = ixgbevf_vlan_rx_add_vid,
+       .ndo_vlan_rx_kill_vid   = ixgbevf_vlan_rx_kill_vid,
 };
 
 static void ixgbevf_assign_netdev_ops(struct net_device *dev)

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel&#174; Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to