Skip to contentSkip to conversation

PCMCIA ds - Exclude uneeded code when ! CONFIG_PROC_FS

PATCH Applied Michal Rokos 2 participants 2 messages Oct 15, 2004 – Nov 20, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 [email protected]
# 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 [email protected] +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 */

Applied
#1 lore raw
Quoted 2 lines · Michal Rokos

just a oneliner to remove unneeded definition that is done below in the code anyway.

Applied, thanks.

Signature · 4 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core