Commit 3e57f72e authored by Maximilian Attems's avatar Maximilian Attems Committed by Linus Torvalds

[PATCH] janitor: cpqarray remove unused include

  remove unused #include <linux/version.h>
  Old ifdefs were removed that used it's definition.
Signed-off-by: default avatarMaximilian Attems <janitor@sternwelten.at>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 87a27f7d
......@@ -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
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment