luci-base: remove unconditional "bit" preloading
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 15 Jan 2015 15:02:54 +0000 (16:02 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 15 Jan 2015 15:02:54 +0000 (16:02 +0100)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
modules/luci-base/luasrc/init.lua

index 4d66e86734fcb0a8fb516a204030391a77c32ec5..ece35d1d25da938b816598871604410bc9941d45 100644 (file)
@@ -26,11 +26,6 @@ limitations under the License.
 
 local require = require
 
--- Make sure that bitlib is loaded
-if not _G.bit then
-       _G.bit = require "bit"
-end
-
 module "luci"
 
 local v = require "luci.version"