diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2015-02-02 16:11:23 +0100 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-02-09 09:26:22 +0100 |
commit | 258b79f7a912abc84a3066c90266d8835597362e (patch) | |
tree | 9e43218ac609cf534e5040d96e4603aafdb77dd1 /config.c | |
parent | cc8c69f2533e3c85e3631f1371a4207c2d5becce (diff) |
netifd: Remove unnecessary default_config check in config_parse_interface
No need to check default_config twice as it's already checked in config_parse_interface
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -136,7 +136,7 @@ config_parse_interface(struct uci_section *s, bool alias) if (blob_len(b.head) == 0) return; - if (iface->device_config && dev->default_config) + if (iface->device_config) device_set_config(dev, dev->type, b.head); return; error_free_config: |