enic: Clean up: Remove a not needed #ifdef
authorVasanthy Kolluri <vkolluri@cisco.com>
Thu, 17 Feb 2011 08:53:17 +0000 (08:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Feb 2011 22:14:09 +0000 (14:14 -0800)
Signed-off-by: Christian Benvenuti <benve@cisco.com>
Signed-off-by: Danny Guo <dannguo@cisco.com>
Signed-off-by: Vasanthy Kolluri <vkolluri@cisco.com>
Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: David Wang <dwang2@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/enic/enic.h
drivers/net/enic/enic_main.c

index 5f4eb45345c1c4bb508206af9a2308a306aca362..2ac891b58db3a09eaa61652e2aad18435e3f9092 100644 (file)
@@ -32,7 +32,7 @@
 
 #define DRV_NAME               "enic"
 #define DRV_DESCRIPTION                "Cisco VIC Ethernet NIC Driver"
-#define DRV_VERSION            "2.1.1.7"
+#define DRV_VERSION            "2.1.1.8"
 #define DRV_COPYRIGHT          "Copyright 2008-2011 Cisco Systems, Inc"
 
 #define ENIC_BARS_MAX          6
index a625a0e0916961db660bb173fbe27a8ff8fb2aae..d1aa8077054184e533c363ba8a90271f744a8e8d 100644 (file)
@@ -2223,9 +2223,7 @@ static const struct net_device_ops enic_netdev_dynamic_ops = {
        .ndo_tx_timeout         = enic_tx_timeout,
        .ndo_set_vf_port        = enic_set_vf_port,
        .ndo_get_vf_port        = enic_get_vf_port,
-#ifdef IFLA_VF_MAX
        .ndo_set_vf_mac         = enic_set_vf_mac,
-#endif
 #ifdef CONFIG_NET_POLL_CONTROLLER
        .ndo_poll_controller    = enic_poll_controller,
 #endif