rfkill: remove unused code

https://bugzilla.gnome.org/show_bug.cgi?id=736292
This commit is contained in:
Cosimo Cecchi 2014-09-08 15:13:57 -07:00 committed by Bastien Nocera
parent be3c3c64c1
commit 1fe3ab8f68

View File

@ -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;