projects
/
oweals
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f09d188
)
ubusd: remove a faulty and redundant check
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 9 Dec 2015 16:36:08 +0000
(17:36 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 9 Dec 2015 16:36:08 +0000
(17:36 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
ubusd_acl.c
patch
|
blob
|
history
diff --git
a/ubusd_acl.c
b/ubusd_acl.c
index 491b233427abab7cfa1b4be495b7b2a77990e0b6..e5a7b56437b866c1fc7eb5b051465d8a1f3420df 100644
(file)
--- a/
ubusd_acl.c
+++ b/
ubusd_acl.c
@@
-297,9
+297,6
@@
ubusd_acl_file_add(struct ubusd_acl_file *file)
else
return;
- if (!tb[ACL_ACCESS] && !tb[ACL_PUBLISH] && !tb[ACL_INHERIT])
- return;
-
if (tb[ACL_ACCESS])
blobmsg_for_each_attr(cur, tb[ACL_ACCESS], rem)
ubusd_acl_add_access(file, cur);