]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit736d05db5263fafb5da2e791de289096c3441a52
treed771f5eda7afa5c7f5485c2e8f7e721c13f6a8cc
parent73af4a37af9ea971f49bc5c5b067d6b7395420ba
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