linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/11] Removing dead code
@ 2010-07-09 13:47 Christoph Egger
  2010-07-09 13:49 ` [PATCH 03/11] Removing dead PP04 Christoph Egger
                   ` (10 more replies)
  0 siblings, 11 replies; 17+ messages in thread
From: Christoph Egger @ 2010-07-09 13:47 UTC (permalink / raw)
  To: Andrew Morton, Tejun Heo, Greg Kroah-Hartman, Greg Ungerer,
	Thiago Farina, Sonic Zhang, Mike Frysinger, Graf Yang, Alan Cox,
	Jesper Nilsson, Ingo Molnar, linux-kernel, uclinux-dist-devel
  Cc: vamos-dev

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 (11):
  Removing dead 68328_SERIAL_UART
  Removing dead CONSOLE_*
  Removing dead PP04
  Removing dead (ALMA_ANS | DRAGONIXVZ | M68EZ328ADS)
  Removing dead ETRAX_RS485_ON_PORT_G
  Removing dead ETRAX_RS485_LTC1387
  Removing dead ETRAX_EXTERN_PB6CLK_ENABLED
  Removing dead ETRAX_SERIAL_PROC_ENTRY
  Removing dead SERIAL_BFIN_{HARD_,}CTSRTS
  Removing dead SERIAL_BFIN_SPORT_CTSRTS
  Removing dead SERIAL_BFIN_SPORT_CONSOLE

 drivers/serial/68328serial.c     |   16 ++----
 drivers/serial/68328serial.h     |    5 --
 drivers/serial/68360serial.c     |   26 +---------
 drivers/serial/bfin_5xx.c        |  103 --------------------------------------
 drivers/serial/bfin_sport_uart.c |  100 ++-----------------------------------
 drivers/serial/crisv10.c         |   71 --------------------------
 6 files changed, 12 insertions(+), 309 deletions(-)


^ permalink raw reply	[flat|nested] 17+ messages in thread
* [PATCH 00/11] Removing dead code
@ 2010-07-14 12:39 Christoph Egger
  0 siblings, 0 replies; 17+ messages in thread
From: Christoph Egger @ 2010-07-14 12:39 UTC (permalink / raw)
  To: David S. Miller, Alexey Dobriyan, Jiri Pirko, Joe Perches,
	Stephen Hemminger, Eric Dumazet, Jesper Nilsson, Tejun Heo,
	Dongdong Deng, Jiri Kosina, Samuel Ortiz, Andrew Morton,
	Roel Kluin, Nicolas Pitre, Tony Lindgren, Daniel Walker,
	Alessandro Rubini, Ivo van Doorn, Gertjan van Wingerde,
	John W. Linville, Bartlomiej Zolnierkiewicz, Felix Fietkau,
	Helmut Schaa, netdev, linux-kernel, linux-wireless, users
  Cc: vamos-dev

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 drivers/net sourcetree for
config Items not defined in Kconfig and found 11 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.

        I build the patches against a vanilla kernel in order to
try if the kernel compiles with this patches

        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 (11):
  Removing dead RT2800PCI_SOC
  Removing dead {AR,WAVE}LAN
  Removing dead CASSINI_QGE_DEBUG
  Removing dead CASSINI_MULTICAST_REG_WRITE
  Removing dead CASSINI_NAPI
  Removing dead CHELSIO_T1_COUGAR
  Removing dead ARCH_PNX010X
  Removing dead SH_HICOSH4
  Removing dead ETRAX_NETWORK_RED_ON_NO_CONNECTION
  Removing dead NETWINDER_{T,R}X_DMA_PROBLEMS
  Removing dead REDWOOD_{5,6}

 drivers/net/Space.c                     |    6 --
 drivers/net/cassini.c                   |   25 +--------
 drivers/net/cassini.h                   |    4 -
 drivers/net/chelsio/subr.c              |   48 +---------------
 drivers/net/cris/eth_v10.c              |    4 -
 drivers/net/cs89x0.c                    |   96 +------------------------------
 drivers/net/cs89x0.h                    |    4 -
 drivers/net/irda/w83977af_ir.c          |   33 +---------
 drivers/net/smc91x.h                    |   37 ------------
 drivers/net/wireless/rt2x00/Kconfig     |    5 --
 drivers/net/wireless/rt2x00/rt2800pci.c |   39 -------------
 11 files changed, 9 insertions(+), 292 deletions(-)


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2010-07-14 12:39 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-09 13:47 [PATCH 00/11] Removing dead code Christoph Egger
2010-07-09 13:49 ` [PATCH 03/11] Removing dead PP04 Christoph Egger
2010-07-09 13:49 ` [PATCH 04/11] Removing dead (ALMA_ANS | DRAGONIXVZ | M68EZ328ADS) Christoph Egger
2010-07-13  3:56   ` Greg Ungerer
2010-07-09 13:49 ` [PATCH 05/11] Removing dead ETRAX_RS485_ON_PORT_G Christoph Egger
2010-07-09 13:49 ` [PATCH 06/11] Removing dead ETRAX_RS485_LTC1387 Christoph Egger
2010-07-09 13:50 ` [PATCH 07/11] Removing dead ETRAX_EXTERN_PB6CLK_ENABLED Christoph Egger
2010-07-09 13:50 ` [PATCH 08/11] Removing dead ETRAX_SERIAL_PROC_ENTRY Christoph Egger
2010-07-09 13:50 ` [PATCH 09/11] Removing dead SERIAL_BFIN_{HARD_,}CTSRTS Christoph Egger
2010-07-09 14:21   ` [Uclinux-dist-devel] [PATCH 09/11] Removing dead SERIAL_BFIN_{HARD_, }CTSRTS Hennerich, Michael
2010-07-09 13:50 ` [PATCH 10/11] Removing dead SERIAL_BFIN_SPORT_CTSRTS Christoph Egger
2010-07-09 15:38   ` Mike Frysinger
2010-07-09 13:50 ` [PATCH 11/11] Removing dead SERIAL_BFIN_SPORT_CONSOLE Christoph Egger
2010-07-09 15:39   ` Mike Frysinger
2010-07-09 13:51 ` [PATCH 02/11] Removing dead CONSOLE_* Christoph Egger
2010-07-09 13:52 ` [PATCH 01/11] Removing dead 68328_SERIAL_UART Christoph Egger
  -- strict thread matches above, loose matches on Subject: below --
2010-07-14 12:39 [PATCH 00/11] Removing dead code Christoph Egger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).