rfkill: drop current_state from tasks in rfkill-input
authorFabien Crespel <fabien@crespel.net>
Mon, 23 Jun 2008 20:23:06 +0000 (17:23 -0300)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 26 Jun 2008 18:21:21 +0000 (14:21 -0400)
commitfbc6af2f3c46df4722f5161d0ad20dd87cd7dfa9
tree441db97c020be4af753823be8991df86454f92a8
parentffb67c34e436fb163c4067936ccec797354fa6c6
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>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/rfkill/rfkill-input.c