Removing dead code
Status from this message: Applied.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/33 | Removing dead MTD_NAND_AT91_BUSWIDTH_16arch/ arch/ | +0 | 5 replies | |
| 2/33 | Removing dead ARCH_DAVINCI_TNETV107Xarch/ | +0 | 3 replies | |
| 3/33 | Removing dead OMAP_MUX_ERRORSarch/ | +0 | 4 replies | |
| 3/33 | Removing dead OMAP_MUX_ERRORSarch/ | +0 | 0 replies | |
| 4/33 | Removing dead MSM7X00A_IDLEarch/ | +0 | 2 replies | |
| 5/33 | Removing dead OMAP_IRarch/ arch/ | +0 | 1 reply | |
| 5/33 | Removing dead OMAP_IRarch/ arch/ | +0 | 0 replies | |
| 6/33 | Removing dead SHARPSL_LOCOMOarch/ | +0 | 5 replies | |
| 7/33 | Removing dead CPU_S3C2400arch/ arch/ arch/ +1 more | +0 | 0 replies | |
| 8/33 | Removing dead SA1101arch/ arch/ | +0 | 4 replies | |
| 9/33 | Removing dead MAGICVarch/ | +0 | 0 replies | |
| 10/33 | Removing dead VIDEO_AT91_ISIarch/ | +0 | 0 replies | |
| 11/33 | Removing dead OMAP_DSParch/ arch/ arch/ +2 more | +0 | 1 reply | |
| 11/33 | Removing dead OMAP_DSParch/ arch/ arch/ +2 more | +0 | 0 replies | |
| 12/33 | Removing dead OMAP_STIarch/ arch/ | +0 | 1 reply | |
| 12/33 | Removing dead OMAP_STIarch/ arch/ | +0 | 0 replies | |
| 13/33 | Replacing LEDS_OMAP_DEBUG with OMAP_DEBUG_LEDSarch/ arch/ | +2 | 1 reply | |
| 14/33 | Removing dead SDMA_IRAMarch/ | +0 | 1 reply | |
| 15/33 | Removing dead PROCESSOR_NS9750arch/ | +0 | 1 reply | |
| 16/33 | Removing dead APMarch/ | +0 | 2 replies | |
| 16/33 | Removing dead APMarch/ | +0 | 0 replies | |
| 17/33 | Removing dead SX1_OLD_FLASHarch/ | +0 | 3 replies | |
| 18/33 | Removing dead OMAP_ARM_96MHZarch/ | +0 | 2 replies | |
| 19/33 | Removing dead MACH_OMAP_H4_OTGarch/ | +0 | 0 replies | |
| 20/33 | Removing dead MACH_OMAP2_H4_USB1arch/ | +0 | 2 replies | |
| 21/33 | Removing dead OMAP2_VENC_OUT_TYPE_SVIDEO, OMAP2_VENC_OUT_TYPE_COMPOSITEarch/ | +0 | 3 replies | |
| 22/33 | Removing dead MPU_{BRIDGE,TESLA}_IOMMUarch/ | +0 | 2 replies | |
| 23/33 | Removing dead BACKLIGHT_CORGIarch/ arch/ arch/ | +0 | 2 replies | |
| 24/33 | Removing dead ARCH_GUMSTIX_ORIGarch/ | +1 | 3 replies | |
| 25/33 | Removing dead CORGI_SSP_DEPRECATEDarch/ | +0 | 2 replies | |
| 26/33 | Removing dead XSCALE_CACHE_ERRATAarch/ | +0 | 2 replies | |
| 27/33 | Removing dead IDE_PXA_CFarch/ | +1 | 5 replies | |
| 28/33 | Removing dead CPU_S3C24XXarch/ | +0 | 1 reply | |
| 29/33 | Removing dead SND_SOC_SMDK2443_WM9710arch/ | +0 | 6 replies | |
| 30/33 | Removing dead S3C_DEV_ADCarch/ | +0 | 2 replies | |
| 31/33 | Removing dead MACH_U300_BS26arch/ | +0 | 2 replies | |
| 32/33 | Removing dead CPU_ICACHE_STREAMING_DISABLEarch/ | +0 | 0 replies | |
| 33/33 | Removing dead MACH_U300_USE_I2S_AS_MASTERarch/ | +0 | 1 reply |
Reviews trailers per patch
14 of 38 patches have a Reviewed-by or Acked-by.
| Patch | Nicolas Pitre | Kirill A. Shutemov | Linus Walleij | Eric Miao | Sascha Hauer | Kristoffer Ericson | Jaya Kumar | Jean-Christophe PLAGNIOL-VILLARD |
|---|---|---|---|---|---|---|---|---|
| 1/33 | A-b A-b | A-b | ||||||
| 2/33 | A-b | |||||||
| 3/33 | A-b | |||||||
| 3/33 | A-b | |||||||
| 4/33 | ||||||||
| 5/33 | ||||||||
| 5/33 | ||||||||
| 6/33 | A-b | |||||||
| 7/33 | ||||||||
| 8/33 | A-b | |||||||
| 9/33 | ||||||||
| 10/33 | ||||||||
| 11/33 | ||||||||
| 11/33 | ||||||||
| 12/33 | ||||||||
| 12/33 | ||||||||
| 13/33 | ||||||||
| 14/33 | A-b | |||||||
| 15/33 | ||||||||
| 16/33 | ||||||||
| 16/33 | ||||||||
| 17/33 | ||||||||
| 18/33 | ||||||||
| 19/33 | ||||||||
| 20/33 | ||||||||
| 21/33 | ||||||||
| 22/33 | ||||||||
| 23/33 | A-b | |||||||
| 24/33 | A-b | A-b | ||||||
| 25/33 | A-b | |||||||
| 26/33 | A-b | |||||||
| 27/33 | A-b | |||||||
| 28/33 | ||||||||
| 29/33 | ||||||||
| 30/33 | ||||||||
| 31/33 | A-b | |||||||
| 32/33 | ||||||||
| 33/33 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 8 reviewers.
Cover letter [PATCH 00/33] Removing dead code
Hi all!
As part of the VAMOS[0] research project at the University of
Erlangen we are looking at multiple integrity errors in linux' configuration system.
I've been running a check on the arch/arm sourcetree for
config Items not defined in Kconfig and found 33 such cases. Sourcecode blocks depending on these Items are not reachable from a vanilla kernel -- dead code. I've seen such dead blocks made on purpose e.g. while integrating new features into the kernel but generally they're just useless.
Each of the patches in this patchset removes on such dead
config Item, I'd be glad if you consider applying them. I've been doing deeper analysis of such issues before and can do so again but I'm not so sure they were fastly usefull. Unfortunately arm doesn't allow some allyesconfig build covering all of that code so I couldn't build-test all of them, sorry for that.
Please keep me informed of this patch getting confirmed /
merged so we can keep track of it.
Regards
Christoph Egger
[0] http://vamos1.informatik.uni-erlangen.de/
Christoph Egger (33):
Removing dead MTD_NAND_AT91_BUSWIDTH_16
Removing dead ARCH_DAVINCI_TNETV107X
Removing dead OMAP_MUX_ERRORS
Removing dead MSM7X00A_IDLE
Removing dead OMAP_IR
Removing dead SHARPSL_LOCOMO
Removing dead CPU_S3C2400
Removing dead SA1101
Removing dead MAGICV
Removing dead VIDEO_AT91_ISI
Removing dead OMAP_DSP
Removing dead OMAP_STI
Replacing LEDS_OMAP_DEBUG with OMAP_DEBUG_LEDS
Removing dead SDMA_IRAM
Removing dead PROCESSOR_NS9750
Removing dead APM
Removing dead SX1_OLD_FLASH
Removing dead OMAP_ARM_96MHZ
Removing dead MACH_OMAP_H4_OTG
Removing dead MACH_OMAP2_H4_USB1
Removing dead OMAP2_VENC_OUT_TYPE_SVIDEO,
OMAP2_VENC_OUT_TYPE_COMPOSITE
Removing dead MPU_{BRIDGE,TESLA}_IOMMU
Removing dead BACKLIGHT_CORGI
Removing dead ARCH_GUMSTIX_ORIG
Removing dead CORGI_SSP_DEPRECATED
Removing dead XSCALE_CACHE_ERRATA
Removing dead IDE_PXA_CF
Removing dead CPU_S3C24XX
Removing dead SND_SOC_SMDK2443_WM9710
Removing dead S3C_DEV_ADC
Removing dead MACH_U300_BS26
Removing dead CPU_ICACHE_STREAMING_DISABLE
Removing dead MACH_U300_USE_I2S_AS_MASTER
arch/arm/mach-at91/at572d940hf_devices.c | 73 -- arch/arm/mach-at91/at91sam9263_devices.c | 49 -- arch/arm/mach-at91/board-at572d940hf_ek.c | 4 - arch/arm/mach-at91/board-sam9m10g45ek.c | 4 - arch/arm/mach-davinci/include/mach/cputype.h | 6 - arch/arm/mach-msm/idle.S | 13 - arch/arm/mach-ns9xxx/gpio.c | 8 - arch/arm/mach-omap1/board-h2.c | 18 - arch/arm/mach-omap1/board-nokia770.c | 132 ---- arch/arm/mach-omap1/board-palmte.c | 84 --- arch/arm/mach-omap1/board-sx1.c | 26 - arch/arm/mach-omap1/devices.c | 72 -- arch/arm/mach-omap1/mcbsp.c | 3 - arch/arm/mach-omap1/mux.c | 5 - arch/arm/mach-omap1/opp_data.c | 3 - arch/arm/mach-omap2/board-h4.c | 26 - arch/arm/mach-omap2/board-omap3stalker.c | 5 - arch/arm/mach-omap2/devices.c | 57 -- arch/arm/mach-omap2/omap-iommu.c | 22 - arch/arm/mach-pxa/corgi_pm.c | 2 - arch/arm/mach-pxa/include/mach/gumstix.h | 12 +- arch/arm/mach-pxa/sharpsl_pm.c | 20 - arch/arm/mach-pxa/sleep.S | 7 - arch/arm/mach-pxa/spitz_pm.c | 2 - arch/arm/mach-pxa/trizeps4.c | 6 +- arch/arm/mach-s3c2410/include/mach/gpio-fns.h | 5 - arch/arm/mach-s3c2410/include/mach/gpio.h | 4 - arch/arm/mach-s3c2410/include/mach/regs-gpio.h | 4 - arch/arm/mach-s3c2443/mach-smdk2443.c | 7 - arch/arm/mach-s5pv210/cpu.c | 4 - arch/arm/mach-sa1100/include/mach/SA-1101.h | 925 ------------------------ arch/arm/mach-sa1100/include/mach/hardware.h | 4 - arch/arm/mach-sa1100/include/mach/irqs.h | 2 - arch/arm/mach-u300/clock.c | 91 --- arch/arm/mach-u300/core.c | 7 - arch/arm/mm/proc-arm925.S | 3 - arch/arm/plat-mxc/include/mach/mx51.h | 4 - arch/arm/plat-omap/Kconfig | 2 +- arch/arm/plat-omap/debug-leds.c | 2 +- arch/arm/plat-omap/devices.c | 62 -- arch/arm/plat-omap/include/plat/dsp_common.h | 40 - arch/arm/plat-s3c24xx/cpu.c | 15 - arch/arm/plat-s3c24xx/include/plat/s3c2400.h | 31 - 43 files changed, 4 insertions(+), 1867 deletions(-) delete mode 100644 arch/arm/mach-sa1100/include/mach/SA-1101.h delete mode 100644 arch/arm/plat-omap/include/plat/dsp_common.h delete mode 100644 arch/arm/plat-s3c24xx/include/plat/s3c2400.h