at the moment, i'm running a quick-and-dirty script that identifies Kconfig variables that are defined in a Kconfig file somewhere but don't appear to be used. this will take a while to run, but here's the first few variables printed:arch/mips/Kconfig:config 64BIT_CONTEXT drivers/acpi/Kconfig:config ACPI_DEBUG_FUNC_TRACE arch/m68k/Kconfig:config ADB_KEYBOARD drivers/macintosh/adbhid.c:#define ADB_KEYBOARD_UNKNOWN 0 drivers/macintosh/adbhid.c:#define ADB_KEYBOARD_ANSI 0x0100 drivers/macintosh/adbhid.c:#define ADB_KEYBOARD_ISO 0x0200 drivers/macintosh/adbhid.c:#define ADB_KEYBOARD_JIS 0x0300 drivers/macintosh/adbhid.c: case ADB_KEYBOARD: drivers/macintosh/adbhid.c: input_dev->id.version = ADB_KEYBOARD_UNKNOWN; drivers/macintosh/adbhid.c: input_dev->id.version = ADB_KEYBOARD_ANSI; drivers/macintosh/adbhid.c: input_dev->id.version = ADB_KEYBOARD_ISO; drivers/macintosh/adbhid.c: input_dev->id.version = ADB_KEYBOARD_JIS; drivers/macintosh/adbhid.c: if (default_id == ADB_KEYBOARD) { drivers/macintosh/adbhid.c: adb_register(ADB_KEYBOARD, 0, &keyboard_ids, adbhid_keyboard_input); include/linux/adb.h:#define ADB_KEYBOARD 2 sound/oss/Kconfig:config AEDSP16_MSS sound/oss/aedsp16.c:#if defined(CONFIG_SOUND_AEDSP16_SBPRO) && defined(CONFIG_SOUND_AEDSP16_MSS) sound/oss/Kconfig:config AEDSP16_SBPRO sound/oss/aedsp16.c:#if defined(CONFIG_SOUND_AEDSP16_SBPRO) && defined(CONFIG_SOUND_AEDSP16_MSS) arch/alpha/Kconfig:config ALPHA_EV7 ... etc etc ... just from the above, you can see the variety of results: * both 64BIT_CONTEXT and ACPI_DEBUG_FUNC_TRACE are defined but are apparently never referenced anywhere * ADB_KEYBOARD is defined but apparently ignored in favour of some hard-coded constants * AEDSP16_MSS and AEDSP16_SBPRO appear to be typoes, but they're part of OSS which is going away so who cares? * ALPHA_EV7 appears to be unused ... and on and on, and i'm not even out of the A's yet. i suspect the script will finish by this evening sometime. rday -- ======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://crashcourse.ca ======================================================================== -
| Linus Torvalds | Linux 2.6.27-rc5 |
| Greg KH | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Trent Piepho | Re: [PATCH] [POWERPC] Improve (in|out)_beXX() asm code |
git: | |
| Christoph Hellwig | Re: [PATCH 06/32] IGET: Mark iget() and read_inode() as being obsolete [try #2] |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
