From: SeongJae Park <sj38.park@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: gregkh@linuxfoundation.org, SeongJae Park <sj38.park@gmail.com>
Subject: [PATCH] staging: csr: Remove struct CsrEvent
Date: Tue, 30 Oct 2012 11:26:13 +0900 [thread overview]
Message-ID: <1351563973-20392-1-git-send-email-sj38.park@gmail.com> (raw)
Nobody use struct CsrEvent. So, remove it.
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
---
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
next reply other threads:[~2012-10-30 2:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-30 2:26 SeongJae Park [this message]
2012-10-30 17:38 ` Greg KH
2012-10-31 3:22 ` SeongJae Park
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1351563973-20392-1-git-send-email-sj38.park@gmail.com \
--to=sj38.park@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®