linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Egger <siccegge@cs.fau.de>
To: Andrew Morton <akpm@linux-foundation.org>,
	Tejun Heo <tj@kernel.org>, Greg Kroah-Hartman <gregkh@suse.de>,
	Greg Ungerer <gerg@uclinux.org>,
	Thiago Farina <tfransosi@gmail.com>,
	Sonic Zhang <sonic.zhang@analog.com>,
	Mike Frysinger <vapier@gentoo.org>,
	Graf Yang <graf.yang@analog.com>, Alan Cox <alan@linux.intel.com>,
	Jesper Nilsson <jesper.nilsson@axis.com>,
	Ingo Molnar <mingo@elte.hu>,
	linux-kernel@vger.kernel.org,
	uclinux-dist-devel@blackfin.uclinux.org
Cc: vamos-dev@i4.informatik.uni-erlangen.de
Subject: [PATCH 00/11] Removing dead code
Date: Fri, 9 Jul 2010 15:47:39 +0200	[thread overview]
Message-ID: <cover.1278682302.git.siccegge@cs.fau.de> (raw)

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(-)


             reply	other threads:[~2010-07-09 13:47 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-09 13:47 Christoph Egger [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1278682302.git.siccegge@cs.fau.de \
    --to=siccegge@cs.fau.de \
    --cc=akpm@linux-foundation.org \
    --cc=alan@linux.intel.com \
    --cc=gerg@uclinux.org \
    --cc=graf.yang@analog.com \
    --cc=gregkh@suse.de \
    --cc=jesper.nilsson@axis.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=sonic.zhang@analog.com \
    --cc=tfransosi@gmail.com \
    --cc=tj@kernel.org \
    --cc=uclinux-dist-devel@blackfin.uclinux.org \
    --cc=vamos-dev@i4.informatik.uni-erlangen.de \
    --cc=vapier@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).