cpp(1) only understand integer arithmetical expressions, so

_MACHINE == i386 test always succeeds, even on non-i386 (both
sides of expressions become 0).  Remove the comment since
_MACHINE and _MACHINE_ARCH are going away.
This commit is contained in:
Ruslan Ermilov 2005-12-06 13:22:14 +00:00
parent acd892b65d
commit 5219ffdbe0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153167

View File

@ -926,8 +926,7 @@ fd_probe(device_t dev)
/*
* XXX I think using __i386__ is wrong here since we actually want to probe
* for the machine type, not the CPU type (so non-PC arch's like the PC98 will
* fail the probe). However, for whatever reason, testing for _MACHINE_ARCH
* == i386 breaks the test on FreeBSD/Alpha.
* fail the probe).
*/
#ifdef __i386__
if (fd->type == FDT_NONE && (fd->fdu == 0 || fd->fdu == 1)) {