[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1275925108.git.siccegge@cs.fau.de>
Date: Wed, 9 Jun 2010 13:19:44 +0200
From: Christoph Egger <siccegge@...fau.de>
To: Ralf Baechle <ralf@...ux-mips.org>,
David Daney <ddaney@...iumnetworks.com>,
Yang Shi <yang.shi@...driver.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
Manuel Lauss <manuel.lauss@...il.com>,
Yoichi Yuasa <yuasa@...ux-mips.org>, Tejun Heo <tj@...nel.org>,
David VomLehn <dvomlehn@...co.com>,
Gilles Espinasse <g.esp@...e.fr>,
Jiri Kosina <jkosina@...e.cz>, linux-mips@...ux-mips.org,
linux-kernel@...r.kernel.or
Cc: vamos@...informatik.uni-erlangen.de
Subject: [PATCH 0/9] 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/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(-)
View attachment "mips-config" of type "text/plain" (90200 bytes)
View attachment "mips-log" of type "text/plain" (251 bytes)
Powered by blists - more mailing lists