luci-mod-admin-full: remove useless "bit" requires
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 15 Jan 2015 15:02:21 +0000 (16:02 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 15 Jan 2015 15:02:25 +0000 (16:02 +0100)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/routes.lua
modules/luci-mod-admin-full/luasrc/view/admin_status/routes.htm
modules/luci-mod-admin-full/luasrc/view/admin_system/packages.htm

index 469748c..209bdf1 100644 (file)
@@ -19,7 +19,6 @@ m = Map("network",
                "can be reached."))
 
 local routes6 = luci.sys.net.routes6()
                "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
 
 s = m:section(TypedSection, "route", translate("Static IPv4 Routes"))
 s.addremove = true
index 4e7287b..ddc664c 100644 (file)
@@ -14,7 +14,6 @@ $Id$
 -%>
 
 <%-
 -%>
 
 <%-
-       require "bit"
        require "luci.sys"
        require "luci.tools.webadmin"
        require "nixio.fs"
        require "luci.sys"
        require "luci.tools.webadmin"
        require "nixio.fs"
index 00b4be4..40da3fe 100644 (file)
@@ -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"
 local opkg = require "luci.model.ipkg"
 local fs = require "nixio.fs"
 local wa = require "luci.tools.webadmin"