Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263956AbTKSTNe (ORCPT ); Wed, 19 Nov 2003 14:13:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263957AbTKSTNe (ORCPT ); Wed, 19 Nov 2003 14:13:34 -0500 Received: from pasmtp.tele.dk ([193.162.159.95]:26631 "EHLO pasmtp.tele.dk") by vger.kernel.org with ESMTP id S263956AbTKSTNc (ORCPT ); Wed, 19 Nov 2003 14:13:32 -0500 Date: Wed, 19 Nov 2003 20:13:27 +0100 From: Sam Ravnborg To: Christoph Hellwig , Matt Domsch , Jeff Garzik , Jason Holmes , linux-kernel@vger.kernel.org Subject: Re: [PATCH] make 2.6 megaraid recognize intel vendor id Message-ID: <20031119191327.GA1053@mars.ravnborg.org> Mail-Followup-To: Christoph Hellwig , Matt Domsch , Jeff Garzik , Jason Holmes , linux-kernel@vger.kernel.org References: <3FB3BBE0.D4D0EACC@psu.edu> <3FB3D5B1.5080904@pobox.com> <20031113153552.A20514@lists.us.dell.com> <20031119131627.A12116@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031119131627.A12116@infradead.org> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 827 Lines: 26 Hi Christoph, nice rewrite. Minor comments - which is not not specific for ypur clean-up, but maybe worth addressing now? > +#ifdef CONFIG_PROC_FS > + if (adapter->controller_proc_dir_entry) { > + remove_proc_entry("stat", adapter->controller_proc_dir_entry); > + remove_proc_entry("config", > + adapter->controller_proc_dir_entry); remove_proc_entry is an empty do {} while, so the ifdef is not needed. > +#if MEGA_HAVE_ENH_PROC Looks like a potential CONFIG option? > +#ifdef CONFIG_PROC_FS > + remove_proc_entry("megaraid", &proc_root); > +#endif ifdef not needed. Sam - 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/