[gnome-shell] network: Remove some unused helpers
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] network: Remove some unused helpers
- Date: Fri, 26 Apr 2013 16:24:24 +0000 (UTC)
commit e1de36398d4b1323b8256ab77feb0bb5f699d6f1
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Apr 25 15:55:59 2013 -0400
network: Remove some unused helpers
https://bugzilla.gnome.org/show_bug.cgi?id=698918
js/ui/status/network.js | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index bfe55c2..534c0ea 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]