diff options
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r-- | net/bridge/br_private.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index c5bd631ffcd5..8f10e09f251b 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h | |||
@@ -232,9 +232,8 @@ extern void (*br_fdb_put_hook)(struct net_bridge_fdb_entry *ent); | |||
232 | 232 | ||
233 | #ifdef CONFIG_SYSFS | 233 | #ifdef CONFIG_SYSFS |
234 | /* br_sysfs_if.c */ | 234 | /* br_sysfs_if.c */ |
235 | extern struct sysfs_ops brport_sysfs_ops; | ||
235 | extern int br_sysfs_addif(struct net_bridge_port *p); | 236 | extern int br_sysfs_addif(struct net_bridge_port *p); |
236 | extern void br_sysfs_removeif(struct net_bridge_port *p); | ||
237 | extern void br_sysfs_freeif(struct net_bridge_port *p); | ||
238 | 237 | ||
239 | /* br_sysfs_br.c */ | 238 | /* br_sysfs_br.c */ |
240 | extern int br_sysfs_addbr(struct net_device *dev); | 239 | extern int br_sysfs_addbr(struct net_device *dev); |
@@ -243,8 +242,6 @@ extern void br_sysfs_delbr(struct net_device *dev); | |||
243 | #else | 242 | #else |
244 | 243 | ||
245 | #define br_sysfs_addif(p) (0) | 244 | #define br_sysfs_addif(p) (0) |
246 | #define br_sysfs_removeif(p) do { } while(0) | ||
247 | #define br_sysfs_freeif(p) kfree(p) | ||
248 | #define br_sysfs_addbr(dev) (0) | 245 | #define br_sysfs_addbr(dev) (0) |
249 | #define br_sysfs_delbr(dev) do { } while(0) | 246 | #define br_sysfs_delbr(dev) do { } while(0) |
250 | #endif /* CONFIG_SYSFS */ | 247 | #endif /* CONFIG_SYSFS */ |