From: Namhyung Kim Date: Wed, 27 Oct 2010 22:34:03 +0000 (-0700) Subject: ptrace: cleanup arch_ptrace() on sh X-Git-Tag: v2.6.37-rc1~85^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e1cb20619d8037248b6a776f777600c3584a8d5;p=pandora-kernel.git ptrace: cleanup arch_ptrace() on sh Remove unnecessary castings and get rid of dummy pointer in favor of offsetof() macro in ptrace_32.c. Also use temporary variables and break long lines in order to improve readability. Signed-off-by: Namhyung Kim Cc: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed