Re: [2.6 patch] lib/zlib*: possible cleanups

From: Andrew Morton
Date: Mon Jun 20 2005 - 20:19:55 EST


Adrian Bunk <bunk@xxxxxxxxx> wrote:
>
> - #if 0 the following unused functions:
> - zlib_deflate/deflate.c: zlib_deflateSetDictionary
> - zlib_deflate/deflate.c: zlib_deflateParams
> - zlib_deflate/deflate.c: zlib_deflateCopy
> - zlib_inflate/infblock.c: zlib_inflate_set_dictionary
> - zlib_inflate/infblock.c: zlib_inflate_blocks_sync_point
> - zlib_inflate/inflate_sync.c: zlib_inflateSync
> - zlib_inflate/inflate_sync.c: zlib_inflateSyncPoint

OK...

> - remove the following unneeded EXPORT_SYMBOL's:
> - zlib_deflate/deflate_syms.c: zlib_deflateCopy
> - zlib_deflate/deflate_syms.c: zlib_deflateParams
> - zlib_inflate/inflate_syms.c: zlib_inflateSync
> - zlib_inflate/inflate_syms.c: zlib_inflateSyncPoint

Adrian, I've dropped just about every "remove the following unneeded
EXPORT_SYMBOL's" I've seen in the past several months. We've been round this
numerous times.

The question is, who are we screwing if we remove these?

It's difficult to answer, but we need to answer it.
-
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/