[Patch 2.6] PCMCIA ds - Exclude uneeded code when ! CONFIG_PROC_FS

From: Michal Rokos (michal_at_rokos.info)
Date: 10/15/04

  • Next message: Michal Rokos: "[Patch 2.6] Sound - Exclude uneeded code when ! CONFIG_PROC_FS"
    To: linux-kernel@vger.kernel.org
    Date:	Fri, 15 Oct 2004 14:34:58 +0200
    
    

    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/


  • Next message: Michal Rokos: "[Patch 2.6] Sound - Exclude uneeded code when ! CONFIG_PROC_FS"

    Relevant Pages

    • Re: [PATCH 3/39] NLKD - early/late CPU up/down notification
      ... >> warnings) when one can already at compile time. ... >we want to not use #ifdef at all if we can ever help it. ... realized that the warning messages from the modpost build stage are very ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [2.6 patch] drivers/acpi: remove unused exported functions
      ... > future patches, but sometimes Real Life gets in the way and the ... > programmer stalls development for some time, no problem, just ifdef it. ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Cpufreq for opteron
      ... > The fact most of users are already inside ifdef blocks themselves ... I converted lprintk and tprintk to dprintk. ... When do you have a heart between your knees? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH 2/3] RCU: rcu_assign_pointer() removal of memory barriers
      ... * substituting pointer. ... must be visible to another weakly ordered CPU before ... #ifdef CONFIG_NET_ESTIMATOR ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Consulting Opportunity - Ph.D. Preferred
      ... I hope that you choose to join our referral service. ... P.S. Please reply with "Exclude" in your email if you want to be excluded from well-paid expert witness opportunities. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)