From: Adrian Bunk <bunk@stusta.de>
To: Christoph Hellwig <hch@lst.de>
Cc: perex@suse.cz, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org
Subject: Re: [PATCH, RFC] remove dead code an exports from alsa
Date: Mon, 25 Oct 2004 11:39:07 +0200 [thread overview]
Message-ID: <20041025093907.GB2798@stusta.de> (raw)
In-Reply-To: <20041024133813.GA20174@lst.de>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, Oct 24, 2004 at 03:38:13PM +0200, Christoph Hellwig wrote:
>...
> --- 1.37/sound/core/info.c 2004-08-15 11:03:10 +02:00
> +++ edited/sound/core/info.c 2004-10-23 15:58:41 +02:00
> @@ -126,12 +126,19 @@
> de->owner = THIS_MODULE;
> }
>
> +#ifdef CONFIG_PROC_FS
> void snd_remove_proc_entry(struct proc_dir_entry *parent,
> struct proc_dir_entry *de)
> {
> if (de)
> remove_proc_entry(de->name, parent);
> }
> +#else
> +static inline void snd_remove_proc_entry(struct proc_dir_entry *parent,
> + struct proc_dir_entry *de)
> +{
> +}
> +#endif
>
>...
remove_proc_entry is a noop for CONFIG_PROC_FS=n, so this part shouldn't
make any difference.
cu
Adrian
- --
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBfMm7mfzqmE8StAARAlo+AJ9tGNSeFVaeQmUUX3ScL2Gapb7fIACfSt/i
XMrRZdJQ5Zmus4TLZ040/ME=
=vHLN
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
WARNING: multiple messages have this Message-ID (diff)
From: Adrian Bunk <bunk@stusta.de>
To: Christoph Hellwig <hch@lst.de>
Cc: perex@suse.cz, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org
Subject: Re: [PATCH, RFC] remove dead code an exports from alsa
Date: Mon, 25 Oct 2004 11:39:07 +0200 [thread overview]
Message-ID: <20041025093907.GB2798@stusta.de> (raw)
In-Reply-To: <20041024133813.GA20174@lst.de>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, Oct 24, 2004 at 03:38:13PM +0200, Christoph Hellwig wrote:
>...
> --- 1.37/sound/core/info.c 2004-08-15 11:03:10 +02:00
> +++ edited/sound/core/info.c 2004-10-23 15:58:41 +02:00
> @@ -126,12 +126,19 @@
> de->owner = THIS_MODULE;
> }
>
> +#ifdef CONFIG_PROC_FS
> void snd_remove_proc_entry(struct proc_dir_entry *parent,
> struct proc_dir_entry *de)
> {
> if (de)
> remove_proc_entry(de->name, parent);
> }
> +#else
> +static inline void snd_remove_proc_entry(struct proc_dir_entry *parent,
> + struct proc_dir_entry *de)
> +{
> +}
> +#endif
>
>...
remove_proc_entry is a noop for CONFIG_PROC_FS=n, so this part shouldn't
make any difference.
cu
Adrian
- --
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBfMm7mfzqmE8StAARAlo+AJ9tGNSeFVaeQmUUX3ScL2Gapb7fIACfSt/i
XMrRZdJQ5Zmus4TLZ040/ME=
=vHLN
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2004-10-25 9:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-24 13:38 [PATCH, RFC] remove dead code an exports from alsa Christoph Hellwig
2004-10-24 13:38 ` Christoph Hellwig
2004-10-25 9:39 ` Adrian Bunk [this message]
2004-10-25 9:39 ` Adrian Bunk
2004-10-27 13:52 ` Clemens Ladisch
2004-10-27 13:52 ` [Alsa-devel] " Clemens Ladisch
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=20041025093907.GB2798@stusta.de \
--to=bunk@stusta.de \
--cc=alsa-devel@alsa-project.org \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@suse.cz \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.