diff options
author | Christoph Hellwig <hch@infradead.org> | 2007-04-22 16:55:36 +0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-06-24 17:33:39 +0400 |
commit | 0b402094199762dde81bee8c32d323cf52f2c6e7 (patch) | |
tree | 58bcb9574055099f553ff12a092d508d0d5861b8 /include | |
parent | 2df697036ba69ea99b73a2dbf82dcc8fec62d4ab (diff) | |
download | linux-0b402094199762dde81bee8c32d323cf52f2c6e7.tar.xz |
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')
-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; |