drivers/block/floppy.c: add function is_ready_state
authorJoe Perches <joe@perches.com>
Wed, 10 Mar 2010 23:21:00 +0000 (15:21 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 12 Mar 2010 23:52:30 +0000 (15:52 -0800)
commit57584c5a3824a15f65d2b065d9f453fc1ae1dab7
treee874998d0550a50d73dc191513aeaaf1c12487c6
parent29f1c7848feb3954939b52fd5b7dca30dbce9426
drivers/block/floppy.c: add function is_ready_state

Used a couple of times, might simplify the code a bit.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/floppy.c