datapath: Simplify vport-netdev-hook compatibility code.
[sliver-openvswitch.git] / datapath / linux / compat / netdevice.c
index 248066d..3d28a9b 100644 (file)
@@ -1,10 +1,6 @@
 #include <linux/netdevice.h>
 #include <linux/if_vlan.h>
 
-#ifdef HAVE_RHEL_OVS_HOOK
-int nr_bridges = 0;
-#endif
-
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
 #ifndef HAVE_CAN_CHECKSUM_PROTOCOL
 static bool can_checksum_protocol(unsigned long features, __be16 protocol)