]> git.baikalelectronics.ru Git - kernel.git/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)
commit053eab1daed20ca0cee9093461a4b0ae7168cb76
tree4c85558dde14211dbb099f8f9dfe8641e02708de
parent4b88d1be4ca7985542f3ac95ac00be9316233267
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:

  a753e4e 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