[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)
commit6ee0d9f744d4417f20aabd9a4e40fac93f2c9d76
treeb5820054106a0b28f2edb603a541009bc460abf3
parentd7418031cf10fe82e16aa2057a702a2d1dab6f4a
[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