From: Jo-Philipp Wich Date: Wed, 5 Feb 2020 16:42:58 +0000 (+0100) Subject: luci-base: dispatcher.lua: remove redundant check_fs_depends() call X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fa534c4578c80e9ef0efb768d58f1ea2e765bdcf;p=oweals%2Fluci.git luci-base: dispatcher.lua: remove redundant check_fs_depends() call Signed-off-by: Jo-Philipp Wich (cherry picked from commit 08eea3f93e9f2e9a2940df2e3a7afbe04c40f4b6) --- diff --git a/modules/luci-base/luasrc/dispatcher.lua b/modules/luci-base/luasrc/dispatcher.lua index 72884b722..c227b68c8 100644 --- a/modules/luci-base/luasrc/dispatcher.lua +++ b/modules/luci-base/luasrc/dispatcher.lua @@ -139,7 +139,7 @@ local function check_depends(spec) return true end - if type(spec.depends.fs) == "table" and not check_fs_depends(spec.depends.fs) then + if type(spec.depends.fs) == "table" then local satisfied = false local alternatives = (#spec.depends.fs > 0) and spec.depends.fs or { spec.depends.fs } for _, alternative in ipairs(alternatives) do