projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ipc,msg: drop dst nil validation in copy_msg
[linux-2.6-block.git]
/
ipc
/
msgutil.c
diff --git
a/ipc/msgutil.c
b/ipc/msgutil.c
index 71f448e5e927aed0ccd8f5af24a928e82cfe616f..ed81aafd239263c7523db5f7ae2983770fea06cb 100644
(file)
--- a/
ipc/msgutil.c
+++ b/
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;
- WARN_ON(dst == NULL);
if (src->m_ts > dst->m_ts)
return ERR_PTR(-EINVAL);