From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@osdl.org>
Cc: Michal Rokos <michal@rokos.info>, linux-kernel@vger.kernel.org
Subject: [Patch 2.6] PCMCIA ds - Exclude uneeded code when ! CONFIG_PROC_FS (fwd)
Date: Fri, 22 Oct 2004 16:18:15 +0200 [thread overview]
Message-ID: <20041022141815.GE2831@stusta.de> (raw)
This trivial patch by Michal Rokos <michal@rokos.info> forwarded below
still applies against 2.6.9-mm1.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
----- Forwarded message from Michal Rokos <michal@rokos.info> -----
Date: Fri, 15 Oct 2004 14:34:58 +0200
From: Michal Rokos <michal@rokos.info>
To: linux-kernel@vger.kernel.org
Subject: [Patch 2.6] PCMCIA ds - Exclude uneeded code when ! CONFIG_PROC_FS
Hello,
just a oneliner to remove unneeded definition that is done below in the
code anyway.
Michal
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/10/15 13:28:23+02:00 michal@nb-rokos.nx.cz
# proc_pccard is declared below once again, so exclude it here and let
it be in ifdef CONFIG_PROC_FS block.
#
# drivers/pcmcia/ds.c
# 2004/10/15 13:28:02+02:00 michal@nb-rokos.nx.cz +0 -2
# proc_pccard is declared below once again, so exclude it here and let
it be in ifdef CONFIG_PROC_FS block.
#
diff -Nru a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c
--- a/drivers/pcmcia/ds.c 2004-10-15 14:26:19 +02:00
+++ b/drivers/pcmcia/ds.c 2004-10-15 14:26:19 +02:00
@@ -134,8 +134,6 @@
static int major_dev = -1;
-static struct proc_dir_entry *proc_pccard;
-
/*====================================================================*/
/* code which was in cs.c before */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
----- End forwarded message -----
reply other threads:[~2004-10-22 14:19 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=20041022141815.GE2831@stusta.de \
--to=bunk@stusta.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michal@rokos.info \
/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).