PATCH K2: remove dead code

Matt Porter mporter at mvista.com
Wed Nov 7 06:40:38 EST 2001


Thanks for this and the cpc710.h changes...pushed.

-Matt

On Tue, Nov 06, 2001 at 12:58:40PM -0800, Michael Sokolov wrote:
>
> Hi there,
>
> Whoever has moved the two tiny shim functions from k2_pic.c into k2_setup.c
> (mporter according to the logs) has apparently forgotten to delete k2_pic.c,
> which is now dead code. This patch does so.
>
> MS
>
> Delete: arch/ppc/kernel/k2_pic.c
> diff -Nru a/arch/ppc/kernel/Makefile b/arch/ppc/kernel/Makefile
> --- a/arch/ppc/kernel/Makefile	Tue Nov  6 12:39:29 2001
> +++ b/arch/ppc/kernel/Makefile	Tue Nov  6 12:39:29 2001
> @@ -80,8 +80,8 @@
>  					indirect_pci.o pci_auto.o todc_time.o
>  obj-$(CONFIG_GEMINI)		+= gemini_prom.o gemini_pci.o gemini_setup.o \
>  					open_pic.o
> -obj-$(CONFIG_K2)		+= k2_setup.o k2_pic.o k2_pci.o i8259.o \
> -					indirect_pci.o todc_time.o pci_auto.o
> +obj-$(CONFIG_K2)		+= k2_setup.o k2_pci.o i8259.o indirect_pci.o \
> +					todc_time.o pci_auto.o
>  obj-$(CONFIG_LOPEC)		+= lopec_setup.o lopec_pci.o mpc10x_common.o \
>  					indirect_pci.o pci_auto.o open_pic.o \
>  					i8259.o todc_time.o
>

--
Matt Porter
mmporter at home.com
This is Linux Country. On a quiet night, you can hear Windows reboot.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list