From: Rafał Miłecki Date: Thu, 20 May 2021 12:03:18 +0000 (+0200) Subject: luci-mod-network: drop 2 unused variables X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=398932f39b3a86ea4f7d25e18d1683acc8e76ea3;p=openwrt-luci.git luci-mod-network: drop 2 unused variables Fixes: faad7464a8ed ("luci-mod-network: add support for network.device sections") Signed-off-by: Rafał Miłecki --- diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js index 9613ef6258..cec5a6406c 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js @@ -426,7 +426,7 @@ return view.extend({ s.addModalOptions = function(s) { var protoval = uci.get('network', s.section, 'proto'), protoclass = protoval ? network.getProtocol(protoval) : null, - o, ifname_single, ifname_multi, proto_select, proto_switch, type, stp, igmp, ss, so; + o, proto_select, proto_switch, type, stp, igmp, ss, so; if (!protoval) return;