From: Rasmus Andersen <rasmus@jaquet.dk>
To: Elmer.Joandi@ut.ee
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] remove warning from drivers/net/arlan.c
Date: Fri, 8 Dec 2000 21:12:17 +0100 [thread overview]
Message-ID: <20001208211217.A599@jaquet.dk> (raw)
Hi.
The following patch eliminates an 'defined but not used' warning when
compiling drivers/net/arlan.c without module support (240t12p3). It
also fixes a typo.
It should apply cleanly.
--- linux-240-t12-pre3-clean/drivers/net/arlan.c Wed Nov 22 22:41:40 2000
+++ linux/drivers/net/arlan.c Sun Dec 3 13:05:53 2000
@@ -8,7 +8,7 @@
#include <linux/config.h>
#include "arlan.h"
-static const char *arlan_version = "C.Jennigs 97 & Elmer.Joandi@ut.ee Oct'98, http://www.ylenurme.ee/~elmer/655/";
+static const char *arlan_version = "C.Jennings 97 & Elmer.Joandi@ut.ee Oct'98, http://www.ylenurme.ee/~elmer/655/";
struct net_device *arlan_device[MAX_ARLANS];
int last_arlan;
@@ -19,7 +19,6 @@
static char *siteName = siteNameUNKNOWN;
static int mem = memUNKNOWN;
int arlan_debug = debugUNKNOWN;
-static int probe = probeUNKNOWN;
static int numDevices = numDevicesUNKNOWN;
static int spreadingCode = spreadingCodeUNKNOWN;
static int channelNumber = channelNumberUNKNOWN;
@@ -1986,6 +1985,8 @@
}
#ifdef MODULE
+
+static int probe = probeUNKNOWN;
int init_module(void)
{
--
Regards,
Rasmus(rasmus@jaquet.dk)
If a man says something in a forest and there are no women around to
hear him, is he still wrong? -- Anonymous
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
reply other threads:[~2000-12-08 20:43 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=20001208211217.A599@jaquet.dk \
--to=rasmus@jaquet.dk \
--cc=Elmer.Joandi@ut.ee \
--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;
as well as URLs for NNTP newsgroup(s).