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 2/2] staging: csr: Remove struct CsrEvent
Date: Sun, 28 Oct 2012 03:45:25 +0900 [thread overview]
Message-ID: <1351363525-17707-2-git-send-email-sj38.park@gmail.com> (raw)
In-Reply-To: <1351363525-17707-1-git-send-email-sj38.park@gmail.com>
No one use struct CsrEvent. So it's unnecessary.
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
---
drivers/staging/csr/csr_framework_ext_types.h | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/drivers/staging/csr/csr_framework_ext_types.h b/drivers/staging/csr/csr_framework_ext_types.h
index 22340c2..7ad8720 100644
--- a/drivers/staging/csr/csr_framework_ext_types.h
+++ b/drivers/staging/csr/csr_framework_ext_types.h
@@ -24,22 +24,10 @@ extern "C" {
#ifdef __KERNEL__
-struct CsrEvent {
- /* wait_queue for waking the kernel thread */
- wait_queue_head_t wakeup_q;
- unsigned int wakeup_flag;
-};
-
typedef struct semaphore CsrMutexHandle;
#else /* __KERNEL __ */
-struct CsrEvent {
- pthread_cond_t event;
- pthread_mutex_t mutex;
- u32 eventBits;
-};
-
typedef pthread_mutex_t CsrMutexHandle;
#endif /* __KERNEL__ */
--
1.7.9.5
next prev parent reply other threads:[~2012-10-27 18:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-27 18:45 [PATCH 1/2] staging: csr: Remove CsrEventHandle SeongJae Park
2012-10-27 18:45 ` SeongJae Park [this message]
2012-10-29 21:58 ` Greg KH
2012-10-30 2:28 ` 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=1351363525-17707-2-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
Powered by JetHome