diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-07-29 19:21:51 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-07-29 19:21:51 +0200 |
commit | fc205d64fcd70cda2dc9176ce2662d71c51370ab (patch) | |
tree | b6417bddcc03103b2a42f7696ad534f903813bf2 | |
parent | 50eb00f20aaf86c84a24b8d2aaad13ffff52d3f1 (diff) |
s/cleanup_devices/device_free_all/
-rw-r--r-- | config.c | 2 | ||||
-rw-r--r-- | device.c | 2 | ||||
-rw-r--r-- | device.h | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -165,7 +165,7 @@ config_init_interfaces(const char *name) if (!strcmp(s->type, "interface")) config_parse_interface(s); } - cleanup_devices(); + device_free_all(); config_init = false; start_pending_interfaces(); @@ -275,7 +275,7 @@ void remove_device_user(struct device_user *dep) } void -cleanup_devices(void) +device_free_all(void) { struct device *dev, *tmp; @@ -141,7 +141,7 @@ int claim_device(struct device *dev); void release_device(struct device *dev); int check_device_state(struct device *dev); -void cleanup_devices(void); +void device_free_all(void); struct device *get_vlan_device_chain(const char *ifname, bool create); struct device *bridge_create(const char *name, struct uci_section *s); |