diff options
-rw-r--r-- | interface.c | 4 | ||||
-rw-r--r-- | interface.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/interface.c b/interface.c index 6fa51fa..b508b10 100644 --- a/interface.c +++ b/interface.c @@ -1078,7 +1078,7 @@ interface_set_up(struct interface *iface) interface_add_error(iface, "interface", error, NULL, 0); } -int +void interface_set_down(struct interface *iface) { if (!iface) { @@ -1088,8 +1088,6 @@ interface_set_down(struct interface *iface) iface->autostart = false; __interface_set_down(iface, false); } - - return 0; } int diff --git a/interface.h b/interface.h index 95d8f3c..ace6a5d 100644 --- a/interface.h +++ b/interface.h @@ -185,7 +185,7 @@ void interface_set_proto_state(struct interface *iface, struct interface_proto_s void interface_set_available(struct interface *iface, bool new_state); void interface_set_up(struct interface *iface); -int interface_set_down(struct interface *iface); +void interface_set_down(struct interface *iface); int interface_renew(struct interface *iface); void interface_set_main_dev(struct interface *iface, struct device *dev); |