* [patch 1/3] cpqarray remove unused include
@ 2004-09-23 20:17 janitor
0 siblings, 0 replies; only message in thread
From: janitor @ 2004-09-23 20:17 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel, janitor, domen
remove unused #include <linux/version.h>
Old ifdefs were removed that used it's definition.
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
---
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
/*
_
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-09-23 20:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-23 20:17 [patch 1/3] cpqarray remove unused include janitor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®