Skip to contentSkip to conversation

cpqarray remove unused include

PATCH New [email protected] 1 participant 1 message Sep 23, 2004 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 cpqarray remove unused include

remove unused #include <linux/version.h> Old ifdefs were removed that used it's definition.

---

 linux-2.6.9-rc2-bk7-max/drivers/block/cpqarray.c |   14 --------------
 1 files changed, 14 deletions(-)
drivers/block/cpqarray.c renamed from drivers/block/cpqarray.c~remove-old-ifdefs-cpqarray +0 -14
diff -puN drivers/block/cpqarray.c~remove-old-ifdefs-cpqarray drivers/block/cpqarray.c
@@ -21,7 +21,6 @@
  */
 #include <linux/config.h>	/* CONFIG_PROC_FS */
 #include <linux/module.h>
-#include <linux/version.h>
 #include <linux/types.h>
 #include <linux/pci.h>
 #include <linux/bio.h>
@@ -732,7 +731,6 @@ static void *remap_pci_mem(ulong base, u
 }
 
 #ifndef MODULE
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,13)
 /*
  * Config string is a comma separated set of i/o addresses of EISA cards.
  */
@@ -749,18 +747,6 @@ static int cpqarray_setup(char *str)
 
 __setup("smart2=", cpqarray_setup);
 
-#else
-
-/*
- * Copy the contents of the ints[] array passed to us by init.
- */
-void cpqarray_setup(char *str, int *ints)
-{
-	int i;
-	for(i=0; i<ints[0] && i<8; i++)
-		eisa[i] = ints[i+1];
-}
-#endif
 #endif
 
 /*

_