[Top] [All Lists]

[PATCH 0/9] Removing dead code

To: Ralf Baechle <>, David Daney <>, Yang Shi <>, Herbert Xu <>, Manuel Lauss <>, Yoichi Yuasa <>, Tejun Heo <>, David VomLehn <>, Gilles Espinasse <>, Jiri Kosina <>,, linux-kernel@vger.kernel.or
Subject: [PATCH 0/9] Removing dead code
From: Christoph Egger <>
Date: Wed, 9 Jun 2010 13:19:44 +0200
User-agent: Mutt/1.5.20 (2009-06-14)
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/mips sourcetree for
config Items not defined in Kconfig and found 5 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. However I've done a
testbuild on mips (cross compile from x86) with allmodconfig which
didn't show any regressions (mainline does fail at the same spots)

        Please keep me informed of this patch getting confirmed /
merged so we can keep track of it.


        Christoph Egger


Christoph Egger (9):
  Removing dead CONFIG_SOC_AU1000_FREQUENCY
  Removing dead CONFIG_GDB_CONSOLE
  Removing dead CONFIG_SIBYTE_BCM1480_PROF
  Removing dead CONFIG_MTD_PB1550_BOOT, CONFIG_MTD_PB1550_USER
  Removing dead CONFIG_BLK_DEV_IDE
  Removing dead CONFIG_I2C_PNX0105
  Removing dead CONFIG_PMCTWILED

 arch/mips/alchemy/common/clocks.c                  |    4 -
 arch/mips/cavium-octeon/serial.c                   |    4 -
 arch/mips/cavium-octeon/setup.c                    |    4 -
 arch/mips/include/asm/mach-pb1x00/pb1550.h         |    8 --
 .../mips/include/asm/pmc-sierra/msp71xx/msp_prom.h |    4 -
 arch/mips/mti-malta/malta-setup.c                  |   25 -------
 arch/mips/nxp/pnx833x/common/platform.c            |   73 --------------------
 arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c        |   11 ---
 arch/mips/pmc-sierra/yosemite/irq.c                |    4 -
 arch/mips/powertv/powertv_setup.c                  |    6 --
 arch/mips/sibyte/bcm1480/irq.c                     |   11 ---
 11 files changed, 0 insertions(+), 154 deletions(-)

Attachment: mips-config
Description: Text document

Attachment: mips-log
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>