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, 27 May 2021 10:19:08 +0000 (12:19 +0200)
Fixes: faad7464a8ed ("luci-mod-network: add support for network.device sections")
Signed-off-by: Rafał Miłecki <[email protected]>
(cherry picked from commit 398932f39b3a86ea4f7d25e18d1683acc8e76ea3)

modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js

index 085b8bfb335de1df1cd2f6f673e2c513e34eb469..a3803de11cf15a3fe7deef2d9de8672e7b266005 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;