PATCH K2: remove dead code
Thanks for this and the cpc710.h changes...pushed.
-Matt
Quoted 15 lines · Michael Sokolov
Hi there,
Whoever has moved the two tiny shim functions from
k2_pic.cintok2_setup.c(mporter according to the logs) has apparently forgotten to deletek2_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
arch/ppc/kernel/Makefile line 87
Quoted 10 lines
arch/ppc/kernel/Makefile +2
-2@@ -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
[email protected]
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/
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
arch/ppc/kernel/Makefile +2 -2
@@ -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
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/