diff options
author | Christoph Hellwig <hch@infradead.org> | 2007-04-22 08:55:36 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-06-24 09:33:39 -0400 |
commit | 0b402094199762dde81bee8c32d323cf52f2c6e7 (patch) | |
tree | 58bcb9574055099f553ff12a092d508d0d5861b8 /include | |
parent | 2df697036ba69ea99b73a2dbf82dcc8fec62d4ab (diff) |
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 { | |||
245 | 245 | ||
246 | struct task_struct *thread; | 246 | struct task_struct *thread; |
247 | struct completion thread_done; | 247 | struct completion thread_done; |
248 | wait_queue_head_t thread_wait; | ||
249 | spinlock_t thread_lock; /* protects thread_events */ | 248 | spinlock_t thread_lock; /* protects thread_events */ |
250 | unsigned int thread_events; | 249 | unsigned int thread_events; |
251 | 250 | ||