Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758360Ab0GUN5k (ORCPT ); Wed, 21 Jul 2010 09:57:40 -0400 Received: from faui40.informatik.uni-erlangen.de ([131.188.34.40]:61997 "EHLO faui40.informatik.uni-erlangen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750719Ab0GUN5i (ORCPT ); Wed, 21 Jul 2010 09:57:38 -0400 Date: Wed, 21 Jul 2010 15:57:35 +0200 From: Christian Dietrich To: Hannes Reinecke , "James E.J. Bottomley" , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Tejun Heo , Jiri Kosina , Vasu Dev , Nick Cheng , Mike Christie , Geert Uytterhoeven , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: vamos-dev@i4.informatik.uni-erlangen.de Subject: [PATCH 0/3] Removing dead code (also drivers/scsi/arm/acornsci.c) Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1802 Lines: 46 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/scsi sourcetree for config Items not defined in Kconfig and found 3 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 Christian Dietrich [0] http://vamos1.informatik.uni-erlangen.de/ Christian Dietrich (3): drivers/scsi: Remove dead CONFIG_WD33C93_PIO drivers/scsi/arcmsr: Remove dead CONFIG_SCSI_ARCMSR_RESET drivers/scsi: Removing dead CONFIG_AIC7XXX_PROC_STATS drivers/scsi/aic7xxx/aic7xxx_osm.c | 10 ---- drivers/scsi/arcmsr/arcmsr_hba.c | 80 ------------------------------------ drivers/scsi/wd33c93.c | 60 --------------------------- drivers/scsi/wd33c93.h | 5 -- 4 files changed, 0 insertions(+), 155 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/