[2.6 patch] drivers/scsi/dpti.h: remove kernel 2.2 #if's

From: Adrian Bunk (bunk_at_stusta.de)
Date: 03/12/05

  • Next message: Zwane Mwaikambo: "Re: spin_lock error in arch/i386/kernel/time.c on APM resume"
    Date:	Sat, 12 Mar 2005 17:10:01 +0100
    To: James.Bottomley@SteelEye.com
    
    

    This patch removes #if's for kernel 2.2 .

    Signed-off-by: Adrian Bunk <bunk@stusta.de>

    ---
     drivers/scsi/dpti.h |   10 ----------
     1 files changed, 10 deletions(-)
    --- linux-2.6.11-mm2-full/drivers/scsi/dpti.h.old	2005-03-12 12:22:23.000000000 +0100
    +++ linux-2.6.11-mm2-full/drivers/scsi/dpti.h	2005-03-12 12:22:46.000000000 +0100
    @@ -20,15 +20,9 @@
     #ifndef _DPT_H
     #define _DPT_H
     
    -#ifndef LINUX_VERSION_CODE
     #include <linux/version.h>
    -#endif
    -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,00)
    -#define MAX_TO_IOP_MESSAGES   (210)
    -#else
     #define MAX_TO_IOP_MESSAGES   (255)
    -#endif
     #define MAX_FROM_IOP_MESSAGES (255)
     
     
    @@ -321,10 +313,6 @@
     static void adpt_delay(int millisec);
     #endif
     
    -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)
    -static struct pci_dev* adpt_pci_find_device(uint vendor, struct pci_dev* from);
    -#endif
    -
     #if defined __ia64__ 
     static void adpt_ia64_info(sysInfo_S* si);
     #endif
    -
    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/
    

  • Next message: Zwane Mwaikambo: "Re: spin_lock error in arch/i386/kernel/time.c on APM resume"

    Relevant Pages