Skip to contentSkip to conversation

Dead symbols in CMl1

PATCH Eric S. Raymond 2 participants 2 messages May 22, 2001

lore
Share & tools
lore
#0 lore raw

I think I've identified a number of dead symbols. Here's a list:

CONFIG_BAGETBSM (Baget Backplane Shared Memory support)
Set in arch/mips64/config.in, not used anywhere.

CONFIG_ACPI_INTERPRETER (ACPI interpreter)
Set in arch/ia64/config.in, not used anywhere.

CONFIG_BINFMT_JAVA (Kernel support for JAVA binaries)
Set in arch/parisc/config.in and arch/cris/config.in, not used anywhere.

CONFIG_SCSI_DECSII (DEC SII SCSI Driver)
Set in drivers/scsi/Config.in, not used anywhere.

CONFIG_PROFILE (Enable traffic profiling)
CONFIG_PROFILE_SHIFT (Profile shift count)
Set in arch/cris/config.in, not used anywhere.

CONFIG_SERIAL_21285_OLD (Use /dev/ttyS0 device)
Set in drivers/char/Config.in, not used anywhere

The following patch removes them cleanly:

Diffs between last version checked in and current workfile(s):

cris/config.in +0 -7
@@ -20,9 +20,6 @@
 bool 'System V IPC' CONFIG_SYSVIPC
 
 tristate 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF
-if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
-  tristate 'Kernel support for JAVA binaries' CONFIG_BINFMT_JAVA
-fi
 
 bool 'Use kernel gdb debugger' CONFIG_ETRAX_KGDB
 
@@ -232,8 +229,4 @@
 comment 'Kernel hacking'
 
 #bool 'Debug kmalloc/kfree' CONFIG_DEBUG_MALLOC
-bool 'Kernel profiling support' CONFIG_PROFILE
-if [ "$CONFIG_PROFILE" = "y" ]; then
-  int ' Profile shift count' CONFIG_PROFILE_SHIFT 2
-fi
 endmenu
ia64/config.in +0 -1
@@ -89,7 +89,6 @@
 	if [ "$CONFIG_ACPI_KERNEL_CONFIG" = "y" ]; then
 	  define_bool CONFIG_PM y
 	  define_bool CONFIG_ACPI y
-	  define_bool CONFIG_ACPI_INTERPRETER y
 	fi
 fi
 
mips64/config.in +0 -1
@@ -183,7 +183,6 @@
       fi
       if [ "$CONFIG_BAGET_MIPS" = "y" ]; then
 	 tristate 'Baget AMD LANCE support' CONFIG_BAGETLANCE
-	 tristate 'Baget Backplane Shared Memory support' CONFIG_BAGETBSM
       fi
       if [ "$CONFIG_ATM" = "y" ]; then
 	 source drivers/atm/Config.in
parisc/config.in +0 -3
@@ -68,9 +68,6 @@
 tristate 'Kernel support for SOM binaries' CONFIG_BINFMT_SOM
 tristate 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF
 tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
-if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
-  tristate 'Kernel support for JAVA binaries (obsolete)' CONFIG_BINFMT_JAVA
-fi
 
 endmenu
 
char/Config.in +0 -3
@@ -63,9 +63,6 @@
 if [ "$CONFIG_FOOTBRIDGE" = "y" ]; then
    bool 'DC21285 serial port support' CONFIG_SERIAL_21285
    if [ "$CONFIG_SERIAL_21285" = "y" ]; then
-      if [ "$CONFIG_OBSOLETE" = "y" ]; then
-         bool '  Use /dev/ttyS0 device (OBSOLETE)' CONFIG_SERIAL_21285_OLD
-      fi
       bool '  Console on DC21285 serial port' CONFIG_SERIAL_21285_CONSOLE
    fi
 fi
scsi/Config.in +0 -1
@@ -39,7 +39,6 @@
    if [ "$CONFIG_TC" = "y" ]; then
       dep_tristate 'DEC NCR53C94 Scsi Driver' CONFIG_SCSI_DECNCR $CONFIG_SCSI
    fi
-   dep_tristate 'DEC SII Scsi Driver' CONFIG_SCSI_DECSII $CONFIG_SCSI
 fi
 
 if [ "$CONFIG_PCI" = "y" ]; then

End of diffs.

Signature · 9 lines
		<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>

Hoplophobia (n.): The irrational fear of weapons, correctly described by 
Freud as "a sign of emotional and sexual immaturity".  Hoplophobia, like
homophobia, is a displacement symptom; hoplophobes fear their own
"forbidden" feelings and urges to commit violence.  This would be
harmless, except that they project these feelings onto others.  The
sequelae of this neurosis include irrational and dangerous behaviors
such as passing "gun-control" laws and trashing the Constitution.
#1 lore raw
Quoted 2 lines

CONFIG_BAGETBSM (Baget Backplane Shared Memory support)
Set in arch/mips64/config.in, not used anywhere.

Not all mips stuff is merged

Quoted 2 lines

CONFIG_ACPI_INTERPRETER (ACPI interpreter)
Set in arch/ia64/config.in, not used anywhere.

Not all IA64 stuff is merged - although this might be dead.

Quoted 2 lines

CONFIG_BINFMT_JAVA (Kernel support for JAVA binaries)
Set in arch/parisc/config.in and arch/cris/config.in, not used anywhere.

Dead (died in 2.0 or so(

Quoted 2 lines

CONFIG_SCSI_DECSII (DEC SII SCSI Driver)
Set in drivers/scsi/Config.in, not used anywhere.

Not all mips stuff is merged

Quoted 3 lines

CONFIG_PROFILE (Enable traffic profiling)
CONFIG_PROFILE_SHIFT (Profile shift count)
Set in arch/cris/config.in, not used anywhere.

Dead