Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/vchiq/dist/interface/vchiq_arm Don't call _...
details: https://anonhg.NetBSD.org/src/rev/b4c43838130e
branches: trunk
changeset: 351191:b4c43838130e
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Feb 05 16:05:20 2017 +0000
description:
Don't call _sema_init twice on various objects... remote_event_create
will initialise them
Found by LOCKDEBUG
diffstat:
sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_core.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diffs (14 lines):
diff -r 0d169865f1b0 -r b4c43838130e sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_core.c
--- a/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_core.c Sun Feb 05 12:05:46 2017 +0000
+++ b/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_core.c Sun Feb 05 16:05:20 2017 +0000
@@ -2443,10 +2443,6 @@
_sema_init(&state->connect, 0);
lmutex_init(&state->mutex);
- _sema_init(&state->trigger_event, 0);
- _sema_init(&state->recycle_event, 0);
- _sema_init(&state->sync_trigger_event, 0);
- _sema_init(&state->sync_release_event, 0);
lmutex_init(&state->slot_mutex);
lmutex_init(&state->recycle_mutex);
Home |
Main Index |
Thread Index |
Old Index