Small cleanup patch.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Cc: Serge Hallyn <serge.hallyn@canonical.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
return -EINVAL;
if (msgflg & MSG_COPY) {
#ifdef CONFIG_CHECKPOINT_RESTORE
-
- if (msgflg & MSG_COPY) {
- copy_number = msgtyp;
- msgtyp = 0;
- }
+ copy_number = msgtyp;
+ msgtyp = 0;
/*
* Create dummy message to copy real message to.