Re: [RFC: 2.6 patch] kernel/sys.c: possible cleanups

From: Andrew Morton
Date: Mon May 01 2006 - 05:12:25 EST


Adrian Bunk <bunk@xxxxxxxxx> wrote:
>
> So the work would expand to:
> - writing 200 feature-removal-schedule.txt entries
> - marking 200 functions and variables as __deprecated_for_modules
>
> And in a few months:
> - removing 200 feature-removal-schedule.txt entries
> - removing 200 __deprecated_for_modules markers
> - removing the 200 unused exports

Don't bother with all that stuff - a modprobe-time warning across a few
kernel releases is sufficient to make any developers who are dependent upon
an export aware of their problem.

Changing the export to EXPORT_UNUSED_SYMBOL() and then later removing the
export is adequate.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/