From: Felix Fietkau Date: Mon, 28 Mar 2011 16:47:10 +0000 (+0200) Subject: remove an unnecessary check X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d2739dae56ee5ba6d8a89ea1822e82a9ed495b72;p=project%2Fnetifd.git remove an unnecessary check --- diff --git a/interface.c b/interface.c index 52d30fc..7bf0ed4 100644 --- a/interface.c +++ b/interface.c @@ -203,7 +203,7 @@ set_interface_up(struct interface *iface) return -1; } - if (iface->up || !iface->active) + if (iface->up) return -1; __set_interface_up(iface);