X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Fbrcompat.c;h=d9255e6398e4afe3f38d26711858c8017b1b6de7;hb=3b01baa3970139c3a195017ab1ea3e42761e3db2;hp=db0a70f53cc3b9712b0beb3d3fc5c43d663e3f0c;hpb=3c303e5fe1061b8715be018ae8e535cbc24303c9;p=sliver-openvswitch.git diff --git a/datapath/brcompat.c b/datapath/brcompat.c index db0a70f53..d9255e639 100644 --- a/datapath/brcompat.c +++ b/datapath/brcompat.c @@ -527,18 +527,14 @@ int brc_add_dp(struct datapath *dp) { if (!try_module_get(THIS_MODULE)) return -ENODEV; -#ifdef SUPPORT_SYSFS brc_sysfs_add_dp(dp); -#endif return 0; } int brc_del_dp(struct datapath *dp) { -#ifdef SUPPORT_SYSFS brc_sysfs_del_dp(dp); -#endif module_put(THIS_MODULE); return 0; @@ -573,10 +569,8 @@ __init brc_init(void) dp_del_dp_hook = brc_del_dp; /* Register hooks for interface adds and deletes */ -#ifdef SUPPORT_SYSFS dp_add_if_hook = brc_sysfs_add_if; dp_del_if_hook = brc_sysfs_del_if; -#endif /* Randomize the initial sequence number. This is not a security * feature; it only helps avoid crossed wires between userspace and