summaryrefslogtreecommitdiff
path: root/ipc/ipc_kmsg.c
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-12-16 14:21:26 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-12-16 14:21:26 +0100
commit1bb1ba65cb9efceeb20b4296f903f3fe58b3341e (patch)
treeff0dc0a1dbbb2c40601c82d1164b3a59413a2313 /ipc/ipc_kmsg.c
parent73314404a9bd7106514b711cd69765b4081b6bed (diff)
ipc: guard test code with `MACH_IPC_TEST'
* ipc/ipc_kmsg.h (ikm_mark_bogus): New macro. (ipc_kmsg_rmqueue_first_macro): Use `ikm_mark_bogus'. * ipc/ipc_kmsg.c (ipc_kmsg_rmqueue): Likewise.
Diffstat (limited to 'ipc/ipc_kmsg.c')
-rw-r--r--ipc/ipc_kmsg.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ipc/ipc_kmsg.c b/ipc/ipc_kmsg.c
index 71a0d74a..66643fd5 100644
--- a/ipc/ipc_kmsg.c
+++ b/ipc/ipc_kmsg.c
@@ -139,9 +139,7 @@ ipc_kmsg_rmqueue(
next->ikm_prev = prev;
prev->ikm_next = next;
}
- /* XXX Temporary debug logic */
- kmsg->ikm_next = IKM_BOGUS;
- kmsg->ikm_prev = IKM_BOGUS;
+ ikm_mark_bogus (kmsg);
}
/*