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

Use new 'regno', 'datap' variables in order to remove duplicated
expressions and unnecessary castings.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m68k/kernel/ptrace.c