ptrace: cleanup arch_ptrace() on frv
authorNamhyung Kim <namhyung@gmail.com>
Wed, 27 Oct 2010 22:33:52 +0000 (15:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Oct 2010 01:03:10 +0000 (18:03 -0700)
commit81d3285c96dd90044ffe2c2c5d56405a5423d753
tree4b592e4d2f4d51b3a89a95d77bebb0fbc77133ab
parent475a4b813816fe9af4cdf7833799036b679f46d0
ptrace: cleanup arch_ptrace() on frv

Use new 'regno', 'datap' variables in order to remove duplicated
expressions and unnecessary castings. Alse remove checking @addr
less than 0 because addr is now unsigned.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Cc: David Howells <dhowells@redhat.com>
Cc: "Daniel K." <dk@uw.no>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/frv/kernel/ptrace.c