staging: csr: Remove struct CsrEvent
authorSeongJae Park <sj38.park@gmail.com>
Tue, 30 Oct 2012 02:26:13 +0000 (11:26 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Oct 2012 17:39:15 +0000 (10:39 -0700)
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>
drivers/staging/csr/csr_framework_ext_types.h

index 627556a04eab9af97c1f7905aac8606176d22d8e..575598cf69b2b04e4d341fdab434497e513cb2c2 100644 (file)
 
 #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;
 
 #else /* __KERNEL __ */
 
-struct CsrEvent {
-       pthread_cond_t  event;
-       pthread_mutex_t mutex;
-       u32       eventBits;
-};
-
-typedef struct CsrEvent CsrEventHandle;
 typedef pthread_mutex_t CsrMutexHandle;
 
 #endif /* __KERNEL__ */