Skip to contentSkip to conversation

staging: csr: Remove struct CsrEvent

PATCH In review SeongJae Park 2 participants 3 messages Oct 30, 2012 – Oct 31, 2012 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: csr: Remove struct CsrEvent

Nobody use struct CsrEvent. So, remove it.

---
 drivers/staging/csr/csr_framework_ext_types.h |   14 --------------
 1 file changed, 14 deletions(-)
drivers/staging/csr/csr_framework_ext_types.h +0 -14
index 627556a..575598c 100644
@@ -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__ */
Signature · 1 line
1.7.9.5
maintainer
#1 lore raw
Quoted 2 lines · SeongJae Park

Nobody use struct CsrEvent. So, remove it.

Please put a blank line between your changelog text and your signed-off-by line, otherwise I have to edit it and do it by hand. I've fixed it up this time.

thanks,

greg k-h

#2 lore raw

Sorry and Thank you about that.

I will not forget it next time.

Thanks and Regards.
SeongJae Park.

Quoted 12 lines · Greg KH
Quoted 2 lines · SeongJae Park

Nobody use struct CsrEvent. So, remove it.

Please put a blank line between your changelog text and your signed-off-by line, otherwise I have to edit it and do it by hand. I've fixed it up this time.

thanks,

greg k-h