From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261504AbVDBNu5 (ORCPT ); Sat, 2 Apr 2005 08:50:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261489AbVDBNu5 (ORCPT ); Sat, 2 Apr 2005 08:50:57 -0500 Received: from stat16.steeleye.com ([209.192.50.48]:53184 "EHLO hancock.sc.steeleye.com") by vger.kernel.org with ESMTP id S261487AbVDBNuu (ORCPT ); Sat, 2 Apr 2005 08:50:50 -0500 Subject: Re: [2.6 patch] drivers/scsi/dpti.h: remove kernel 2.2 #if's From: James Bottomley To: Adrian Bunk Cc: Andrew Morton , SCSI Mailing List , Linux Kernel In-Reply-To: <20050327143421.GF4285@stusta.de> References: <20050327143421.GF4285@stusta.de> Content-Type: text/plain Date: Sat, 02 Apr 2005 07:49:38 -0600 Message-Id: <1112449778.5786.7.camel@mulgrave> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-2) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2005-03-27 at 16:34 +0200, Adrian Bunk wrote: > This patch removes #if's for kernel 2.2 . this one looks like it's not quite complete: > -#ifndef LINUX_VERSION_CODE > #include > -#endif Once there are no more KERNEL_VERSION dependencies in a file, it's inclusion of linux/version.h can be removed also (and that should prevent it getting rebuilt every time the kernel version changes). So it looks like there's an additional KERNEL_VERSION to remove in dpt/dpti_i2o.h version.h includes in dpti_i2o.h and dpt_i2o.c Then when you have a final patch, could you cc Markus Lidel and Mark_Salyzyn@adaptec.com Thanks, James