Let interface_set_down() return void as no usefull error code
is returned by __interface_set_down()
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
interface_add_error(iface, "interface", error, NULL, 0);
}
-int
+void
interface_set_down(struct interface *iface)
{
if (!iface) {
iface->autostart = false;
__interface_set_down(iface, false);
}
-
- return 0;
}
int
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);