]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Remove unused old code from powermac setup code
authorPaul Mackerras <paulus@samba.org>
Thu, 4 Oct 2007 03:47:06 +0000 (13:47 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 9 Oct 2007 11:01:54 +0000 (21:01 +1000)
commit260d438a929339a34fe2c334874445a17a1abd32
treeb5820054106a0b28f2edb603a541009bc460abf3
parent493debd3a1c1588fe92465cbb31722f3c991d482
[POWERPC] Remove unused old code from powermac setup code

Since bootdevice never gets initialized, it's always NULL, and hence a
whole pile of code in arch/powerpc/platforms/setup.c never gets used.
(This was the code that originally was there so that the automatic
root partition selection mechanism would prefer a rootish-looking
partition on the device that OF loaded the kernel from over a similar
partition on other devices.)

This removes the unused code.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powermac/setup.c