From 6ff7bae36aa940f5f64ce11fb87ecefe136d41d6 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 15 Jan 2015 16:02:21 +0100 Subject: [PATCH] luci-mod-admin-full: remove useless "bit" requires Signed-off-by: Jo-Philipp Wich --- .../luasrc/model/cbi/admin_network/routes.lua | 1 - modules/luci-mod-admin-full/luasrc/view/admin_status/routes.htm | 1 - .../luci-mod-admin-full/luasrc/view/admin_system/packages.htm | 1 - 3 files changed, 3 deletions(-) diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/routes.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/routes.lua index 469748c87..209bdf1fb 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/routes.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/routes.lua @@ -19,7 +19,6 @@ m = Map("network", "can be reached.")) local routes6 = luci.sys.net.routes6() -local bit = require "bit" s = m:section(TypedSection, "route", translate("Static IPv4 Routes")) s.addremove = true diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/routes.htm b/modules/luci-mod-admin-full/luasrc/view/admin_status/routes.htm index 4e7287b70..ddc664ce3 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_status/routes.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_status/routes.htm @@ -14,7 +14,6 @@ $Id$ -%> <%- - require "bit" require "luci.sys" require "luci.tools.webadmin" require "nixio.fs" diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_system/packages.htm b/modules/luci-mod-admin-full/luasrc/view/admin_system/packages.htm index 00b4be486..40da3feac 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_system/packages.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_system/packages.htm @@ -11,7 +11,6 @@ You may obtain a copy of the License at -%> <%- -local bit = require "bit" local opkg = require "luci.model.ipkg" local fs = require "nixio.fs" local wa = require "luci.tools.webadmin" -- 2.25.1