summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ncr-int.h1
-rw-r--r--ncr.c3
2 files changed, 0 insertions, 4 deletions
diff --git a/ncr-int.h b/ncr-int.h
index 2af794f..733bb77 100644
--- a/ncr-int.h
+++ b/ncr-int.h
@@ -98,7 +98,6 @@ struct list_sem_st {
* are here.
*/
struct ncr_lists {
- struct list_sem_st data;
struct list_sem_st key;
/* sessions */
diff --git a/ncr.c b/ncr.c
index 87bd052..624d217 100644
--- a/ncr.c
+++ b/ncr.c
@@ -52,9 +52,6 @@ void* ncr_init_lists(void)
memset(lst, 0, sizeof(*lst));
- init_MUTEX(&lst->data.sem);
- INIT_LIST_HEAD(&lst->data.list);
-
init_MUTEX(&lst->key.sem);
INIT_LIST_HEAD(&lst->key.list);