rfkill: drop current_state from tasks in rfkill-input
commit0e22dd2dc3d84c10f52c07b12026b9bb226d3a3b
authorFabien Crespel <fabien@crespel.net>
Sun, 29 Jun 2008 13:49:51 +0000 (29 10:49 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 29 Jun 2008 13:49:51 +0000 (29 10:49 -0300)
treebf0fa23ad160309b04a7536161feacf6ba4fe802
parent0fbba7fa7cd0083cbb6e247b5273c4c3e2e91f51
rfkill: drop current_state from tasks in rfkill-input

The whole current_state thing seems completely useless and a source of
problems in rfkill-input, since state comparison is already done in rfkill,
and rfkill-input is more than likely to become out of sync with the real
state.

Signed-off-by: Fabien Crespel <fabien@crespel.net>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Ivo van Doorn <IvDoorn@gmail.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
net/rfkill/rfkill-input.c