summaryrefslogtreecommitdiffstats
path: root/kernel/ipc/msgutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/ipc/msgutil.c')
-rw-r--r--kernel/ipc/msgutil.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/ipc/msgutil.c b/kernel/ipc/msgutil.c
index 2b491590e..ed81aafd2 100644
--- a/kernel/ipc/msgutil.c
+++ b/kernel/ipc/msgutil.c
@@ -123,7 +123,6 @@ struct msg_msg *copy_msg(struct msg_msg *src, struct msg_msg *dst)
size_t len = src->m_ts;
size_t alen;
- BUG_ON(dst == NULL);
if (src->m_ts > dst->m_ts)
return ERR_PTR(-EINVAL);