ptrace: cleanup arch_ptrace() on xtensa
authorNamhyung Kim <namhyung@gmail.com>
Wed, 27 Oct 2010 22:34:06 +0000 (15:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Oct 2010 01:03:12 +0000 (18:03 -0700)
commit5ef45079dd9c8f2e9c7aa788dc3121835ae52863
tree47f8cd54f6663ea960f78404fe29cef5c250dc68
parent0a3d763f1a68c97daae57e40c6d698986d1b38f4
ptrace: cleanup arch_ptrace() on xtensa

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

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Cc: Chris Zankel <chris@zankel.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/xtensa/kernel/ptrace.c