From: Denys Vlasenko Date: Wed, 23 Jul 2008 00:24:26 +0000 (-0500) Subject: Shrink struct module: CONFIG_UNUSED_SYMBOLS ifdefs X-Git-Tag: v2.6.27-rc1~864^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7f5b67557eac1131ba6532522e3c50eced34238;p=pandora-kernel.git Shrink struct module: CONFIG_UNUSED_SYMBOLS ifdefs module.c and module.h conatains code for finding exported symbols which are declared with EXPORT_UNUSED_SYMBOL, and this code is compiled in even if CONFIG_UNUSED_SYMBOLS is not set and thus there can be no EXPORT_UNUSED_SYMBOLs in modules anyway (because EXPORT_UNUSED_SYMBOL(x) are compiled out to nothing then). This patch adds required #ifdefs. Signed-off-by: Denys Vlasenko Signed-off-by: Rusty Russell --- Reading git-diff-tree failed