lkml.org 
[lkml]   [2004]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH, RFC] remove dead code an exports from alsa
-----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-----
-
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/
\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.035 / U:1.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site