projects
/
platform
/
kernel
/
linux-exynos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
m32r: remove redundant tests on unsigned
[platform/kernel/linux-exynos.git]
/
arch
/
m32r
/
kernel
/
smpboot.c
diff --git
a/arch/m32r/kernel/smpboot.c
b/arch/m32r/kernel/smpboot.c
index
2547d6c
..
655ea1c
100644
(file)
--- a/
arch/m32r/kernel/smpboot.c
+++ b/
arch/m32r/kernel/smpboot.c
@@
-213,7
+213,7
@@
void __init smp_prepare_cpus(unsigned int max_cpus)
if (!physid_isset(phys_id, phys_cpu_present_map))
continue;
- if (
(max_cpus >= 0) && (max_cpus <= cpucount + 1)
)
+ if (
max_cpus <= cpucount + 1
)
continue;
do_boot_cpu(phys_id);