From: maximilian attems <janitor@sternwelten.at>
To: saw@saw.sw.com.sg
Cc: netdev@oss.sgi.com
Subject: [patch-kj] remove old ifdef'd code from eepro100.c
Date: Mon, 21 Jun 2004 20:51:35 +0200 [thread overview]
Message-ID: <20040621185135.GA1545@sputnik.stro.at> (raw)
From: Domen Puncer <domen@coderock.org>
Patches to remove some old ifdefs.
remove unused #include <linux/version.h>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
---
linux-2.6.7-max/drivers/net/eepro100.c | 17 -----------------
1 files changed, 17 deletions(-)
diff -puN drivers/net/eepro100.c~remove-old-ifdefs-eepro100 drivers/net/eepro100.c
--- linux-2.6.7/drivers/net/eepro100.c~remove-old-ifdefs-eepro100 2004-06-18 09:15:04.000000000 +0200
+++ linux-2.6.7-max/drivers/net/eepro100.c 2004-06-18 09:15:04.000000000 +0200
@@ -94,7 +94,6 @@ static int options[] = {-1, -1, -1, -1,
#endif
#include <linux/config.h>
-#include <linux/version.h>
#include <linux/module.h>
#include <linux/kernel.h>
@@ -2453,22 +2452,6 @@ static struct pci_driver eepro100_driver
#endif /* CONFIG_PM */
};
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,48)
-static int pci_module_init(struct pci_driver *pdev)
-{
- int rc;
-
- rc = pci_register_driver(pdev);
- if (rc <= 0) {
- printk(KERN_INFO "%s: No cards found, driver not installed.\n",
- pdev->name);
- pci_unregister_driver(pdev);
- return -ENODEV;
- }
- return 0;
-}
-#endif
-
static int __init eepro100_init_module(void)
{
#ifdef MODULE
_
reply other threads:[~2004-06-21 18:51 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=20040621185135.GA1545@sputnik.stro.at \
--to=janitor@sternwelten.at \
--cc=netdev@oss.sgi.com \
--cc=saw@saw.sw.com.sg \
/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;
as well as URLs for NNTP newsgroup(s).