summaryrefslogtreecommitdiffstats
path: root/kernel/arch/powerpc/kernel/signal_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/powerpc/kernel/signal_32.c')
-rw-r--r--kernel/arch/powerpc/kernel/signal_32.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/arch/powerpc/kernel/signal_32.c b/kernel/arch/powerpc/kernel/signal_32.c
index d3a831ac0..da50e0c9c 100644
--- a/kernel/arch/powerpc/kernel/signal_32.c
+++ b/kernel/arch/powerpc/kernel/signal_32.c
@@ -966,8 +966,6 @@ int copy_siginfo_to_user32(struct compat_siginfo __user *d, const siginfo_t *s)
int copy_siginfo_from_user32(siginfo_t *to, struct compat_siginfo __user *from)
{
- memset(to, 0, sizeof *to);
-
if (copy_from_user(to, from, 3*sizeof(int)) ||
copy_from_user(to->_sifields._pad,
from->_sifields._pad, SI_PAD_SIZE32))