From: janitor@sternwelten.at
To: akpm@digeo.com
Cc: linux-kernel@vger.kernel.org, janitor@sternwelten.at, domen@coderock.org
Subject: [patch 1/3] cpqarray remove unused include
Date: Thu, 23 Sep 2004 22:17:56 +0200 [thread overview]
Message-ID: <E1CAa2P-0006vE-5W@sputnik> (raw)
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
/*
_
reply other threads:[~2004-09-23 20:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1CAa2P-0006vE-5W@sputnik \
--to=janitor@sternwelten.at \
--cc=akpm@digeo.com \
--cc=domen@coderock.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®