drivers/char/ipmi: Use KCS_IDLE_STATE
authorJulia Lawall <julia@diku.dk>
Wed, 16 Dec 2009 00:47:37 +0000 (16:47 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Dec 2009 15:20:10 +0000 (07:20 -0800)
commitd1da96aada79fd1d29ae4e3157120d1ce1e77594
treeddc875b94e5ac5c1b3a1f006f914cd721d420a8b
parent9cf18e1dd74cd0061d58ac55029784ca3dd88f6a
drivers/char/ipmi: Use KCS_IDLE_STATE

KCS_IDLE and KCS_IDLE state have the same value, but in this function the
constants ending in _STATE are compared to the state variable.

Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: Core Minyard <cminyard@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/ipmi/ipmi_kcs_sm.c