ptrace: cleanup arch_ptrace() on m32r
authorNamhyung Kim <namhyung@gmail.com>
Wed, 27 Oct 2010 22:33:54 +0000 (15:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Oct 2010 01:03:11 +0000 (18:03 -0700)
commita68caa035a0ffb895baa829edec0545f17d88c07
tree398ead5af1a4eff98c5e3b0865cea2ba8fcc0412
parent05fabdace41837a21f957507378b2954fe87ab61
ptrace: cleanup arch_ptrace() on m32r

Use new 'datap' variable in order to remove duplicated castings.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m32r/kernel/ptrace.c