From: SeongJae Park Date: Tue, 30 Oct 2012 02:26:13 +0000 (+0900) Subject: staging: csr: Remove struct CsrEvent X-Git-Tag: v3.8-rc1~178^2~866 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e07384adc6baea2cb9cd20947f6753b78e5b2b42;p=profile%2Fivi%2Fkernel-x86-ivi.git staging: csr: Remove struct CsrEvent Nobody use struct CsrEvent. So, remove it. Signed-off-by: SeongJae Park Signed-off-by: Greg Kroah-Hartman --- 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__ */