]> git.hungrycats.org Git - linux/commitdiff
[PATCH] janitor: cpqarray remove unused include
authorMaximilian Attems <janitor@sternwelten.at>
Tue, 19 Oct 2004 01:18:46 +0000 (18:18 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 19 Oct 2004 01:18:46 +0000 (18:18 -0700)
  remove unused #include <linux/version.h>
  Old ifdefs were removed that used it's definition.

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/cpqarray.c

index 204b3182900d80ca6cc8df94f5186219ef96b62c..dc896a12283bdbd9b3fbd940bf5b5a27e709e5c9 100644 (file)
@@ -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 __iomem *remap_pci_mem(ulong base, ulong size)
 }
 
 #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
 
 /*