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;