]> Pileus Git - ~andy/linux/commit
powerpc: kernel: remove useless code which related with 'max_cpus'
authorChen Gang <gang.chen@asianux.com>
Mon, 22 Jul 2013 06:40:20 +0000 (14:40 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 2 Dec 2013 03:06:58 +0000 (14:06 +1100)
commitdfee0efe3ec8d4099c69e8234e4e4306619b9ba6
tree4c85558dde14211dbb099f8f9dfe8641e02708de
parent2abe3b8e73df9895b89f907b7a93d7b800427583
powerpc: kernel: remove useless code which related with 'max_cpus'

Since not need 'max_cpus' after the related commit, the related code
are useless too, need be removed.

The related commit:

  c1aa687 powerpc: Clean up obsolete code relating to decrementer and timebase

The related warning:

  arch/powerpc/kernel/smp.c:323:43: warning: parameter ‘max_cpus’ set but not used [-Wunused-but-set-parameter]

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/smp.c