ixgbevf: remove unnecessary ampersands
authorStephen Hemminger <shemminger@vyatta.com>
Thu, 9 Jun 2011 02:58:39 +0000 (02:58 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 21 Jun 2011 08:18:12 +0000 (01:18 -0700)
Use standard format for net_device_ops (without &)

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Greg Rose <Gregory.v.rose@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbevf/ixgbevf_main.c

index 721417eb0556715d6e848f98f996d99e78a23741..fec36bde19943220fb18cf691f05feef3a29a336 100644 (file)
@@ -3249,18 +3249,18 @@ static void ixgbevf_shutdown(struct pci_dev *pdev)
 }
 
 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)