diff options
author | Christoph Hellwig <hch@infradead.org> | 2007-04-22 14:55:36 +0200 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-06-24 15:33:39 +0200 |
commit | 0b402094199762dde81bee8c32d323cf52f2c6e7 (patch) | |
tree | 58bcb9574055099f553ff12a092d508d0d5861b8 /include/pcmcia | |
parent | pcmcia: i82365.c: check request_irq return value (diff) | |
download | linux-0b402094199762dde81bee8c32d323cf52f2c6e7.tar.xz linux-0b402094199762dde81bee8c32d323cf52f2c6e7.zip |
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>
Diffstat (limited to 'include/pcmcia')
-rw-r--r-- | include/pcmcia/ss.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/pcmcia/ss.h b/include/pcmcia/ss.h index f95dca077c1c..2edc7fa3bab3 100644 --- a/include/pcmcia/ss.h +++ b/include/pcmcia/ss.h @@ -245,7 +245,6 @@ struct pcmcia_socket { struct task_struct *thread; struct completion thread_done; - wait_queue_head_t thread_wait; spinlock_t thread_lock; /* protects thread_events */ unsigned int thread_events; |