m32r: remove redundant tests on unsigned
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 22 Sep 2009 00:04:03 +0000 (17:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Sep 2009 14:17:43 +0000 (07:17 -0700)
commitd5a6d1739526ed8c383db3dabc232bc15603439a
tree8562c06469f310df7cdd8fe46be428207be839da
parent1f693665457539e919856149151b7a7e96550d70
m32r: remove redundant tests on unsigned

`off' and `max_cpus' are unsigned.  When negative they are wrapped and
caught by the other test.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m32r/kernel/ptrace.c
arch/m32r/kernel/smpboot.c