x86, boot: Remove ancient, unconditionally #ifdef'd out dead code
authorPaul Bolle <pebolle@tiscali.nl>
Wed, 20 Jun 2012 22:16:29 +0000 (00:16 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 21 Jun 2012 00:28:56 +0000 (17:28 -0700)
commite5a7286b5f1b0b5beb97275f2152bf10c4aa4204
tree83ef1c24ad84e82585faf9e41f5df1b306470717
parentfbd24153c48b8425b09c161a020483cd77da870e
x86, boot: Remove ancient, unconditionally #ifdef'd out dead code

Release v1.3.82 wrapped a few lines of code in an "#ifdef
SAFE_RESET_DISK_CONTROLLER" and "#endif" pair. Since
SAFE_RESET_DISK_CONTROLLER was never defined anywhere that was basically
a verbose "#ifdef 0" and "#endif" pair. These dead lines have been in
the tree for sixteen years but now the time has come to remove them.

I guess the main lesson here is that if you want your dead code in the
tree for a very long time you'd better be creative. A plain old "#ifdef
0" and "#endif" pair just doesn't cut it!

See: http://lkml.kernel.org/r/199603301718.LAA00178@craie.inetnebr.com

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Link: http://lkml.kernel.org/r/1340230589.1773.7.camel@x61.thuisdomein
Acked-by: Jeff Epler <jepler@unpythonic.net>
Acked-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/boot/header.S