projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Input: w90p910_keypad - pass correct pointer to free_irq()
[firefly-linux-kernel-4.4.55.git]
/
ipc
/
msgutil.c
diff --git
a/ipc/msgutil.c
b/ipc/msgutil.c
index ebfcbfa8b7f25a4193dcfd196963e4b87428a6e6..5df8e4bf1db00debfedc37a3487cfddc612126ad 100644
(file)
--- a/
ipc/msgutil.c
+++ b/
ipc/msgutil.c
@@
-117,9
+117,6
@@
struct msg_msg *copy_msg(struct msg_msg *src, struct msg_msg *dst)
if (alen > DATALEN_MSG)
alen = DATALEN_MSG;
- dst->next = NULL;
- dst->security = NULL;
-
memcpy(dst + 1, src + 1, alen);
len -= alen;