[PATCH] staging: csr: Remove struct CsrEvent

From: SeongJae Park
Date: Mon Oct 29 2012 - 22:26:26 EST


Nobody use struct CsrEvent. So, remove it.
Signed-off-by: SeongJae Park <sj38.park@xxxxxxxxx>
---
drivers/staging/csr/csr_framework_ext_types.h | 14 --------------
1 file changed, 14 deletions(-)

diff --git a/drivers/staging/csr/csr_framework_ext_types.h b/drivers/staging/csr/csr_framework_ext_types.h
index 627556a..575598c 100644
--- a/drivers/staging/csr/csr_framework_ext_types.h
+++ b/drivers/staging/csr/csr_framework_ext_types.h
@@ -19,24 +19,10 @@

#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__ */
--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/