forked from Minki/linux
staging: csr: Remove struct CsrEvent
Nobody use struct CsrEvent. So, remove it. Signed-off-by: SeongJae Park <sj38.park@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a0e9ad31d4
commit
e07384adc6
@ -19,24 +19,10 @@
|
|||||||
|
|
||||||
#ifdef __KERNEL__
|
#ifdef __KERNEL__
|
||||||
|
|
||||||
struct CsrEvent {
|
|
||||||
/* wait_queue for waking the kernel thread */
|
|
||||||
wait_queue_head_t wakeup_q;
|
|
||||||
unsigned int wakeup_flag;
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef struct CsrEvent CsrEventHandle;
|
|
||||||
typedef struct semaphore CsrMutexHandle;
|
typedef struct semaphore CsrMutexHandle;
|
||||||
|
|
||||||
#else /* __KERNEL __ */
|
#else /* __KERNEL __ */
|
||||||
|
|
||||||
struct CsrEvent {
|
|
||||||
pthread_cond_t event;
|
|
||||||
pthread_mutex_t mutex;
|
|
||||||
u32 eventBits;
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef struct CsrEvent CsrEventHandle;
|
|
||||||
typedef pthread_mutex_t CsrMutexHandle;
|
typedef pthread_mutex_t CsrMutexHandle;
|
||||||
|
|
||||||
#endif /* __KERNEL__ */
|
#endif /* __KERNEL__ */
|
||||||
|
Loading…
Reference in New Issue
Block a user