[patch 1/3] cpqarray remove unused include

From: janitor
Date: Thu Sep 23 2004 - 15:20:24 EST




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


Signed-off-by: Maximilian Attems <janitor@xxxxxxxxxxxxxx>

---

linux-2.6.9-rc2-bk7-max/drivers/block/cpqarray.c | 14 --------------
1 files changed, 14 deletions(-)

diff -puN drivers/block/cpqarray.c~remove-old-ifdefs-cpqarray drivers/block/cpqarray.c
--- linux-2.6.9-rc2-bk7/drivers/block/cpqarray.c~remove-old-ifdefs-cpqarray 2004-09-21 20:46:55.000000000 +0200
+++ linux-2.6.9-rc2-bk7-max/drivers/block/cpqarray.c 2004-09-21 20:46:55.000000000 +0200
@@ -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

/*
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/