commit | 05fabdace41837a21f957507378b2954fe87ab61 | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@gmail.com> | Wed Oct 27 15:33:53 2010 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Oct 27 18:03:11 2010 -0700 |
tree | 1bb0e246e7786b008a44779052fa072de0955acf | |
parent | 81d3285c96dd90044ffe2c2c5d56405a5423d753 [diff] |
ptrace: cleanup arch_ptrace() on h8300 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: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>