From fa534c4578c80e9ef0efb768d58f1ea2e765bdcf Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 5 Feb 2020 17:42:58 +0100 Subject: [PATCH] luci-base: dispatcher.lua: remove redundant check_fs_depends() call Signed-off-by: Jo-Philipp Wich (cherry picked from commit 08eea3f93e9f2e9a2940df2e3a7afbe04c40f4b6) --- modules/luci-base/luasrc/dispatcher.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1