arch/arm/common/Makefile Remove unused config in the Makefile.
Subsystems (3)
RFC 1/5 arch/arm/common/Makefile Remove unused config in the Makefile.
The patch below removes an unused config variable found by using a kernel cleanup script.
Note: I did try to cross compile these but hit erros while doing so.. (gcc is not setup to cross compile) and am unsure if anymore needs to be done. Please have a look if/when anybody has free time.
--- arch/arm/common/Makefile | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
arch/arm/common/Makefile +0 -1
@@ -16,5 +16,4 @@ obj-$(CONFIG_SHARP_SCOOP) += scoop.o obj-$(CONFIG_ARCH_IXP2000) += uengine.o obj-$(CONFIG_ARCH_IXP23XX) += uengine.o obj-$(CONFIG_PCI_HOST_ITE8152) += it8152.o -obj-$(CONFIG_COMMON_CLKDEV) += clkdev.o obj-$(CONFIG_ARM_TIMER_SP804) += timer-sp.o
Signature · 1 line
1.7.4.2
RFC 2/5 arch:powerpc:sysdev:Makefile Remove unused config in the Makefile.
The patch below removes an unused config variable found by using a kernel cleanup script.
Note: I did try to cross compile these but hit erros while doing so.. (gcc is not setup to cross compile) and am unsure if anymore needs to be done. Please have a look if/when anybody has free time.
--- arch/powerpc/sysdev/Makefile | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
arch/powerpc/sysdev/Makefile +0 -1
@@ -18,7 +18,6 @@ obj-$(CONFIG_FSL_PMC) += fsl_pmc.o obj-$(CONFIG_FSL_LBC) += fsl_lbc.o obj-$(CONFIG_FSL_GTM) += fsl_gtm.o obj-$(CONFIG_MPC8xxx_GPIO) += mpc8xxx_gpio.o -obj-$(CONFIG_FSL_85XX_CACHE_SRAM) += fsl_85xx_l2ctlr.o fsl_85xx_cache_sram.o obj-$(CONFIG_SIMPLE_GPIO) += simple_gpio.o obj-$(CONFIG_FSL_RIO) += fsl_rio.o obj-$(CONFIG_TSI108_BRIDGE) += tsi108_pci.o tsi108_dev.o
Signature · 1 line
1.7.4.2
Re: [RFC 2/5]arch:powerpc:sysdev:Makefile Remove unused config in the Makefile.
Quoted 19 lines · On Tue, 5 Apr 2011 09:58:19 -0700 "Justin P. Mattock"…
The patch below removes an unused config variable found by using a kernel cleanup script.
Note: I did try to cross compile these but hit erros while doing so.. (gcc is not setup to cross compile) and am unsure if anymore needs to be done. Please have a look if/when anybody has free time.Signed-off-by Justin P. Mattock <[email protected]>CC Benjamin Herrenschmidt <[email protected]>--- arch/powerpc/sysdev/Makefile | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)arch/powerpc/sysdev/Makefile +0
-0
arch/powerpc/sysdev/Makefile obj-$(CONFIG_FSL_PMC) += fsl_pmc.o · line 23
Quoted 7 lines
arch/powerpc/sysdev/Makefile +0
-1@@ -18,7 +18,6 @@ obj-$(CONFIG_FSL_PMC) += fsl_pmc.o obj-$(CONFIG_FSL_LBC) += fsl_lbc.o obj-$(CONFIG_FSL_GTM) += fsl_gtm.o obj-$(CONFIG_MPC8xxx_GPIO) += mpc8xxx_gpio.o -obj-$(CONFIG_FSL_85XX_CACHE_SRAM) += fsl_85xx_l2ctlr.o fsl_85xx_cache_sram.o obj-$(CONFIG_SIMPLE_GPIO) += simple_gpio.o obj-$(CONFIG_FSL_RIO) += fsl_rio.o obj-$(CONFIG_TSI108_BRIDGE) += tsi108_pci.o tsi108_dev.o
Those files do exist, and aren't pulled in by any other means I can see. It was introduced by commit 6db92cc9d07db9f713da8554b4bcdfc8e54ad386, whose changelog says:
Drivers can do the following in Kconfig to use these APIs "selectFSL_85XX_CACHE_SRAM if MPC85xx"
Now, the absence of such a kconfig option[1] is a problem, but I don't think outright removal (labelled "trivial cleanup") is appropriate, unless nobody fixes it after the problem is pointed out. And if it is removed, the files should go with it.
-Scott
[1] and of any drivers that select it, though this was added fairly recently -- perhaps such a driver change is on its way?
Re: [RFC 2/5]arch:powerpc:sysdev:Makefile Remove unused config in the Makefile.
Quoted 41 lines · Scott Wood
Quoted 19 lines · On Tue, 5 Apr 2011 09:58:19 -0700 "Justin P. Mattock"…
The patch below removes an unused config variable found by using a kernel cleanup script.
Note: I did try to cross compile these but hit erros while doing so.. (gcc is not setup to cross compile) and am unsure if anymore needs to be done. Please have a look if/when anybody has free time.Signed-off-by Justin P. Mattock <[email protected]>CC Benjamin Herrenschmidt <[email protected]>---
arch/powerpc/sysdev/Makefile | 1 -1 files changed, 0 insertions(+), 1 deletions(-)arch/powerpc/sysdev/Makefile +0
-0@@ -18,7 +18,6 @@ obj-$(CONFIG_FSL_PMC) += fsl_pmc.oQuoted 7 lines
obj-$(CONFIG_FSL_LBC) += fsl_lbc.o obj-$(CONFIG_FSL_GTM) += fsl_gtm.o obj-$(CONFIG_MPC8xxx_GPIO) += mpc8xxx_gpio.o -obj-$(CONFIG_FSL_85XX_CACHE_SRAM) += fsl_85xx_l2ctlr.o fsl_85xx_cache_sram.o obj-$(CONFIG_SIMPLE_GPIO) += simple_gpio.o obj-$(CONFIG_FSL_RIO) += fsl_rio.o obj-$(CONFIG_TSI108_BRIDGE) += tsi108_pci.o tsi108_dev.o
Those files do exist, and aren't pulled in by any other means I can see. It was introduced by commit
6db92cc9d07db9f713da8554b4bcdfc8e54ad386, whose changelog says:
Drivers can do the following inKconfigto use these APIs "selectFSL_85XX_CACHE_SRAMif MPC85xx"Now, the absence of such a kconfig option[1] is a problem, but I don't think outright removal (labelled "trivial cleanup") is appropriate, unless nobody fixes it after the problem is pointed out. And if it is removed, the files should go with it.
Quoted 6 lines
-Scott
[1] and of any drivers that select it, though this was added fairly recently -- perhaps such a driver change is on its way?
ahh.. so the: fsl_85xx_l2ctlr.o fsl_85xx_cache_sram.o is still in use even though FSL_85XX_CACHE_SRAM is not really used, but really is used!!
but might be wrong with this.
Signature · 1 line
Justin P. Mattock
Re: [RFC 2/5]arch:powerpc:sysdev:Makefile Remove unused config in the Makefile.
Quoted 4 lines · On Wed, 6 Apr 2011 08:07:58 -0700 Justin Mattock <[email protected]>…
ahh.. so the: fsl_85xx_l2ctlr.o fsl_85xx_cache_sram.o is still in use even though
FSL_85XX_CACHE_SRAMis not really used, but really is used!!but might be wrong with this.
More like there are plans to use it, or possibly out-of-tree users. We should prod people a bit to submit the driver patches that use this before we just yank it out.
-Scott
Re: [RFC 2/5]arch:powerpc:sysdev:Makefile Remove unused config in the Makefile.
Quoted 6 lines · Scott Wood
Quoted 3 lines · On Wed, 6 Apr 2011 08:07:58 -0700 Justin Mattock <[email protected]>…
ahh.. so the: fsl_85xx_l2ctlr.o fsl_85xx_cache_sram.o is still in use even though
FSL_85XX_CACHE_SRAMis not really used, but really is used!!
Quoted 9 lines
Quoted 1 line
but might be wrong with this.
More like there are plans to use it, or possibly out-of-tree users. We should prod people a bit to submit the driver patches that use this before we just yank it out.
-Scott
well if this is going to be used for something down the line, then best leave it in..
Signature · 1 line
Justin P. Mattock
RFC 3/5 arch:mips:pmc-sierra:msp71xx:Makefile Remove unused config in the Makefile.
In reply to Justin P. MattockThe patch below removes an unused config variable found by using a kernel cleanup script.
Note: I did try to cross compile these but hit erros while doing so.. (gcc is not setup to cross compile) and am unsure if anymore needs to be done. Please have a look if/when anybody has free time.
--- arch/mips/pmc-sierra/msp71xx/Makefile | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
arch/mips/pmc-sierra/msp71xx/Makefile +0 -1
@@ -3,7 +3,6 @@ # obj-y += msp_prom.o msp_setup.o msp_irq.o \ msp_time.o msp_serial.o msp_elb.o -obj-$(CONFIG_HAVE_GPIO_LIB) += gpio.o gpio_extended.o obj-$(CONFIG_PMC_MSP7120_GW) += msp_hwbutton.o obj-$(CONFIG_IRQ_MSP_SLP) += msp_irq_slp.o obj-$(CONFIG_IRQ_MSP_CIC) += msp_irq_cic.o msp_irq_per.o
Signature · 1 line
1.7.4.2
Ralf Baechle
NAKRe: [RFC 3/5]arch:mips:pmc-sierra:msp71xx:Makefile Remove unused config in the Makefile.
Quoted 5 lines · Justin P. Mattock
The patch below removes an unused config variable found by using a kernel cleanup script.
Note: I did try to cross compile these but hit erros while doing so.. (gcc is not setup to cross compile) and am unsure if anymore needs to be done. Please have a look if/when anybody has free time.
NACK.
This need a rewrite, not just chainsawing. Your code was only touching the makefile anyway, not the two referenced C files.
Ralf
Ralf
Re: [RFC 3/5]arch:mips:pmc-sierra:msp71xx:Makefile Remove unused config in the Makefile.
Quoted 8 lines · Ralf Baechle
Quoted 5 lines · Justin P. Mattock
The patch below removes an unused config variable found by using a kernel cleanup script.
Note: I did try to cross compile these but hit erros while doing so.. (gcc is not setup to cross compile) and am unsure if anymore needs to be done. Please have a look if/when anybody has free time.
Quoted 9 lines
NACK.
This need a rewrite, not just chainsawing. Your code was only touching the makefile anyway, not the two referenced C files.
Ralf
Ralf
alright!!
Justin P. Mattock
RFC 4/5 arch:mn10300:kernel:Makefile Remove unused config in the Makefile.
In reply to Justin P. MattockThe patch below removes an unused config variable found by using a kernel cleanup script.
Note: I did try to cross compile these but hit erros while doing so.. (gcc is not setup to cross compile) and am unsure if anymore needs to be done. Please have a look if/when anybody has free time.
--- arch/mn10300/kernel/Makefile | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
arch/mn10300/kernel/Makefile +0 -1
@@ -22,7 +22,6 @@ obj-$(CONFIG_GDBSTUB_ON_TTYSx) += gdb-io-serial.o gdb-io-serial-low.o obj-$(CONFIG_GDBSTUB_ON_TTYSMx) += gdb-io-ttysm.o gdb-io-ttysm-low.o obj-$(CONFIG_MN10300_RTC) += rtc.o -obj-$(CONFIG_PROFILE) += profile.o profile-low.o obj-$(CONFIG_MODULES) += module.o obj-$(CONFIG_KPROBES) += kprobes.o obj-$(CONFIG_KGDB) += kgdb.o
Signature · 1 line
1.7.4.2
RFC 5/5 arch:powerpc:kernel:Makefile Remove unused config in the Makefile.
In reply to Justin P. MattockThe patch below removes an unused config variable found by using a kernel cleanup script.
Note: I did try to cross compile these but hit erros while doing so.. (gcc is not setup to cross compile) and am unsure if anymore needs to be done. Please have a look if/when anybody has free time.
--- arch/powerpc/kernel/Makefile | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
arch/powerpc/kernel/Makefile +0 -1
@@ -75,7 +75,6 @@ obj-$(CONFIG_PPC_FSL_BOOK3E) += cpu_setup_fsl_booke.o dbell.o obj-$(CONFIG_PPC_BOOK3E_64) += dbell.o extra-y := head_$(CONFIG_WORD_SIZE).o -extra-$(CONFIG_PPC_BOOK3E_32) := head_new_booke.o extra-$(CONFIG_40x) := head_40x.o extra-$(CONFIG_44x) := head_44x.o extra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o
Signature · 1 line
1.7.4.2
Hello,
Quoted 9 lines · Justin P. Mattock
The patch below removes an unused config variable found by using a kernel cleanup script.
Note: I did try to cross compile these but hit erros while doing so.. (gcc is not setup to cross compile) and am unsure if anymore needs to be done. Please have a look if/when anybody has free time.Signed-off-by Justin P. Mattock <[email protected]>CC Russell King <[email protected]>CC linux-arm-kernel at lists.infradead.org
The file was removed by commit
6d803ba (ARM: 6483/1: arm & sh: factorised duplicated clkdev.c)
(added the persons involved to Cc).
Thanks
Uwe
Quoted 23 lines
--- arch/arm/common/Makefile | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)arch/arm/common/Makefile +0
-1@@ -16,5 +16,4 @@ obj-$(CONFIG_SHARP_SCOOP) += scoop.o obj-$(CONFIG_ARCH_IXP2000) += uengine.o obj-$(CONFIG_ARCH_IXP23XX) += uengine.o obj-$(CONFIG_PCI_HOST_ITE8152) += it8152.o -obj-$(CONFIG_COMMON_CLKDEV) += clkdev.o obj-$(CONFIG_ARM_TIMER_SP804) += timer-sp.oSignature · 7 lines
1.7.4.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel at lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |
Quoted 14 lines · Uwe Kleine-K?nig
Hello,
Quoted 9 lines · Justin P. Mattock
The patch below removes an unused config variable found by using a kernel cleanup script.
Note: I did try to cross compile these but hit erros while doing so.. (gcc is not setup to cross compile) and am unsure if anymore needs to be done. Please have a look if/when anybody has free time.Signed-off-by Justin P. Mattock<[email protected]>CC Russell King<[email protected]>CC linux-arm-kernel at lists.infradead.orgThe file was removed by commit
Quoted 8 lines
6d803ba (ARM: 6483/1: arm& sh: factorised duplicated clkdev.c)(added the persons involved to Cc).
Acked-by Uwe Kleine-K?nig<[email protected]>Thanks
Uwe
o.k.!! Thanks for having a look at this..
Quoted 19 lines
Quoted 19 lines
--- arch/arm/common/Makefile | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)arch/arm/common/Makefile +0
-2@@ -16,5 +16,4 @@ obj-$(CONFIG_SHARP_SCOOP) += scoop.o obj-$(CONFIG_ARCH_IXP2000) += uengine.o obj-$(CONFIG_ARCH_IXP23XX) += uengine.o obj-$(CONFIG_PCI_HOST_ITE8152) += it8152.o -obj-$(CONFIG_COMMON_CLKDEV) += clkdev.o obj-$(CONFIG_ARM_TIMER_SP804) += timer-sp.o --1.7.4.2
Quoted 6 lines
Quoted 5 lines
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Justin P. Mattock
Quoted 1 line · Justin P. Mattock
o.k.!! Thanks for having a look at this..
Could you queue this up in the patch system with everyone's acks please? You don't need to include a Cc line for any of my addresses (and I'd prefer it not to be in submissions.)
Thanks.
Quoted 9 lines · Russell King - ARM Linux
Quoted 1 line · Justin P. Mattock
o.k.!! Thanks for having a look at this..
Could you queue this up in the patch system with everyone's acks please? You don't need to include a Cc line for any of my addresses (and I'd prefer it not to be in submissions.)
Thanks.
o.k. I resent.. hopefully I got the addresses proper.
Justin P. Mattock
Jean-Christophe PLAGNIOL-VILLARD
Acked-byQuoted 12 lines · Uwe Kleine-K?nig
Hello,
Quoted 9 lines · Justin P. Mattock
The patch below removes an unused config variable found by using a kernel cleanup script.
Note: I did try to cross compile these but hit erros while doing so.. (gcc is not setup to cross compile) and am unsure if anymore needs to be done. Please have a look if/when anybody has free time.Signed-off-by Justin P. Mattock <[email protected]>CC Russell King <[email protected]>CC linux-arm-kernel at lists.infradead.org
Quoted 7 lines
The file was removed by commit
6d803ba (ARM: 6483/1: arm & sh: factorised duplicated clkdev.c)(added the persons involved to Cc).
Acked-by Uwe Kleine-K?nig <[email protected]>
Best Regards,
J.