From e1de36398d4b1323b8256ab77feb0bb5f699d6f1 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 25 Apr 2013 15:55:59 -0400 Subject: [PATCH] network: Remove some unused helpers https://bugzilla.gnome.org/show_bug.cgi?id=698918 --- js/ui/status/network.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/js/ui/status/network.js b/js/ui/status/network.js index bfe55c230..534c0ea37 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -45,20 +45,6 @@ const NM80211ApSecurityFlags = NetworkManager['80211ApSecurityFlags']; // (the remaining are placed into Moreā€¦) const NUM_VISIBLE_NETWORKS = 5; -function macToArray(string) { - return string.split(':').map(function(el) { - return parseInt(el, 16); - }); -} - -function macCompare(one, two) { - for (let i = 0; i < 6; i++) { - if (one[i] != two[i]) - return false; - } - return true; -} - function ssidCompare(one, two) { if (!one || !two) return false;