Removing dead code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | Removing dead BOOK3E_MMU_TLB_STATSarch/ arch/ | +0 | 1 reply | |
| 2/5 | Removing dead CONFIG_HIGHPTEarch/ | +0 | 0 replies | |
| 3/5 | Removing dead CONFIG_SMP_750arch/ | +0 | 4 replies | |
| 4/5 | Removing dead CONFIG_SERIAL_TEXT_DEBUGarch/ | +0 | 1 reply | |
| 5/5 | Removing dead CONFIG_PPC47xarch/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] 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/powerpc sourcetree for
config Items not defined in Kconfig and found5 such chases. 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. However I've done a testbuild on ppc with allmodconfig so it should at least build.
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 (5):
Removing dead BOOK3E_MMU_TLB_STATS
Removing dead CONFIG_HIGHPTE
Removing dead CONFIG_SMP_750
Removing dead CONFIG_SERIAL_TEXT_DEBUG
Removing dead CONFIG_PPC47x
arch/powerpc/include/asm/exception-64e.h | 38 ------------------------------ arch/powerpc/kernel/head_40x.S | 19 --------------- arch/powerpc/mm/44x_mmu.c | 4 --- arch/powerpc/mm/pgtable_32.c | 4 --- arch/powerpc/mm/tlb_hash32.c | 4 --- arch/powerpc/mm/tlb_low_64e.S | 9 ------- 6 files changed, 0 insertions(+), 78 deletions(-)