From 1fe3ab8f6857b9f7a18bf5bf00813905eb2873f6 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Mon, 8 Sep 2014 15:13:57 -0700 Subject: [PATCH] rfkill: remove unused code https://bugzilla.gnome.org/show_bug.cgi?id=736292 --- js/ui/status/rfkill.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/ui/status/rfkill.js b/js/ui/status/rfkill.js index b2359d84a..545ce7c08 100644 --- a/js/ui/status/rfkill.js +++ b/js/ui/status/rfkill.js @@ -101,8 +101,6 @@ const Indicator = new Lang.Class({ _sync: function() { let airplaneMode = this._manager.airplaneMode; let hwAirplaneMode = this._manager.hwAirplaneMode; - let changed = (airplaneMode != this._indicator.visible) || - (hwAirplaneMode != this._offItem.actor.visible); this._indicator.visible = airplaneMode; this._item.actor.visible = airplaneMode;