diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-03-28 18:47:10 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-03-28 18:47:10 +0200 |
commit | d2739dae56ee5ba6d8a89ea1822e82a9ed495b72 (patch) | |
tree | 6673b203534853f42cee84095e31396b63b1159c /interface.c | |
parent | 308f0a4a364cfb9df6f6991eac00aa306846d2f6 (diff) |
remove an unnecessary check
Diffstat (limited to 'interface.c')
-rw-r--r-- | interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |