[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1351144271-24443-2-git-send-email-sj38.park@gmail.com>
Date: Thu, 25 Oct 2012 14:51:11 +0900
From: SeongJae Park <sj38.park@...il.com>
To: linux-kernel@...r.kernel.org
Cc: gregkh@...uxfoundation.org, SeongJae Park <sj38.park@...il.com>
Subject: [PATCH 2/2] Remove struct CsrEvent
Nobody use struct CsrEvent. Remove it.
Signed-off-by: SeongJae Park <sj38.park@...il.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 d97c2de..9623eec 100644
--- a/drivers/staging/csr/csr_framework_ext_types.h
+++ b/drivers/staging/csr/csr_framework_ext_types.h
@@ -30,25 +30,11 @@ struct CsrThread
char name[16];
};
-struct CsrEvent
-{
- /* wait_queue for waking the kernel thread */
- wait_queue_head_t wakeup_q;
- unsigned int wakeup_flag;
-};
-
typedef struct semaphore CsrMutexHandle;
typedef struct CsrThread CsrThreadHandle;
#else /* __KERNEL __ */
-struct CsrEvent
-{
- pthread_cond_t event;
- pthread_mutex_t mutex;
- u32 eventBits;
-};
-
typedef pthread_mutex_t CsrMutexHandle;
typedef pthread_t CsrThreadHandle;
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists