From dd108f6edb2091bf45008aeebc5fd8307911a838 Mon Sep 17 00:00:00 2001 From: Stanislaw Gruszka Date: Tue, 1 Apr 2008 06:38:55 +0000 Subject: [PATCH] Remove obsolete linux stuff. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@318 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla_isp/linux/isp_scst.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/qla_isp/linux/isp_scst.c b/qla_isp/linux/isp_scst.c index da4a7651b..860142614 100644 --- a/qla_isp/linux/isp_scst.c +++ b/qla_isp/linux/isp_scst.c @@ -63,21 +63,10 @@ #endif #include -#ifndef KERNEL_VERSION -#define KERNEL_VERSION(v,p,s) (((v)<<16)+(p<<8)+s) -#endif -#include -#ifdef CONFIG_SMP -#define __SMP__ 1 -#endif - #include #include #include #include -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) -#include -#endif #include #include #include @@ -1270,13 +1259,8 @@ unregister_scst(void) } } -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) -EXPORT_SYMBOL_NOVERS(scsi_target_handler); -MODULE_PARM(scsi_tdebug, "i"); -#else EXPORT_SYMBOL(scsi_target_handler); module_param(scsi_tdebug, int, 0); -#endif #ifdef MODULE_LICENSE MODULE_LICENSE("Dual BSD/GPL"); #endif