luci-mod-network: drop 2 unused variables
authorRafał Miłecki <[email protected]>
Thu, 20 May 2021 12:03:18 +0000 (14:03 +0200)
committerRafał Miłecki <[email protected]>
Thu, 20 May 2021 12:04:46 +0000 (14:04 +0200)
Fixes: faad7464a8ed ("luci-mod-network: add support for network.device sections")
Signed-off-by: Rafał Miłecki <[email protected]>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js

index 9613ef6258864af036f8892aa24aa192983e2296..cec5a6406c9137c371e8e8e6dc0016f4314d341d 100644 (file)
@@ -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;