Re: [RFC: 2.6 patch] kernel/sys.c: remove unused exports

Andrew Morton
2006-06-29T19:46:01Z

On Thu, 29 Jun 2006 12:36:08 -0700
Andrew Morton <akpm@osdl.org> wrote:

> On Thu, 29 Jun 2006 21:19:40 +0200
> Adrian Bunk <bunk@stusta.de> wrote:
>
> > This patch removes the following unused exports:
> > - EXPORT_SYMBOL:
> > - in_egroup_p
> > - EXPORT_SYMBOL_GPL's:
> > - kernel_restart
> > - kernel_halt
>
> Switch 'em to EXPORT_UNUSED_SYMBOL and I'll stop dropping your patches ;)
>

If doing this, I'd suggest it be done thusly:

EXPORT_UNUSED_SYMBOL(in_egroup_p); /* June 2006 */

to aid later decision-making.