pcmcia: cs: kill thread_wait
authorChristoph Hellwig <hch@infradead.org>
Sun, 22 Apr 2007 12:55:36 +0000 (13:55 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Tue, 24 Jun 2008 13:33:39 +0000 (15:33 +0200)
commit0b402094199762dde81bee8c32d323cf52f2c6e7
tree58bcb9574055099f553ff12a092d508d0d5861b8
parent2df697036ba69ea99b73a2dbf82dcc8fec62d4ab
pcmcia: cs: kill thread_wait

There is not reason to have a waitqueue if it's always the same
thread that is waiting for it.  Just use wake_up_process instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Small modification: Also remove unused variable.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/cs.c
include/pcmcia/ss.h