linux-mips
[Top] [All Lists]

[PATCH 0/9] Removing dead code

To: Ralf Baechle <ralf@linux-mips.org>, David Daney <ddaney@caviumnetworks.com>, Yang Shi <yang.shi@windriver.com>, Herbert Xu <herbert@gondor.apana.org.au>, Manuel Lauss <manuel.lauss@gmail.com>, Yoichi Yuasa <yuasa@linux-mips.org>, Tejun Heo <tj@kernel.org>, David VomLehn <dvomlehn@cisco.com>, Gilles Espinasse <g.esp@free.fr>, Jiri Kosina <jkosina@suse.cz>, linux-mips@linux-mips.org, linux-kernel@vger.kernel.or
Subject: [PATCH 0/9] Removing dead code
From: Christoph Egger <siccegge@cs.fau.de>
Date: Wed, 9 Jun 2010 13:19:44 +0200
Cc: vamos@i4.informatik.uni-erlangen.de
Sender: linux-mips-bounce@linux-mips.org
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.

Regards

        Christoph Egger

[0] http://vamos1.informatik.uni-erlangen.de/

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
  Removing dead CONFIG_DIAGNOSTICS
  Removing dead CONFIG_MTD_PMC_MSP_RAMROOT

 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>