summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-06-08 04:51:06 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-06-08 04:51:06 +0000
commite88d54b4ae55f3de545f2425ca748e132ca52617 (patch)
tree4cedb5264291957af21f6b8a601135901716a664
parenta0819726307cb74afc29b220abd4ccd122470c53 (diff)
Remove this horror DIAGNOSTIC define. It was just ugly when it
was introduced, but now it causes crashes when kernels are built without DIAGNOSTIC. Instead of trying to debug this incorrect code, I'm just removing this abomination.
-rw-r--r--sys/ufs/ffs/ffs_softdep.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c
index 17497459d83..ae95e681c3c 100644
--- a/sys/ufs/ffs/ffs_softdep.c
+++ b/sys/ufs/ffs/ffs_softdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ffs_softdep.c,v 1.38 2002/06/08 04:44:01 art Exp $ */
+/* $OpenBSD: ffs_softdep.c,v 1.39 2002/06/08 04:51:05 art Exp $ */
/*
* Copyright 1998, 2000 Marshall Kirk McKusick. All Rights Reserved.
*
@@ -40,13 +40,6 @@
* $FreeBSD: src/sys/ufs/ffs/ffs_softdep.c,v 1.86 2001/02/04 16:08:18 phk Exp $
*/
-/*
- * For now we want the safety net that the DIAGNOSTIC flag provide.
- */
-#ifndef DIAGNOSTIC
-#define DIAGNOSTIC
-#endif
-
#include <sys/param.h>
#include <sys/buf.h>
#include <sys/kernel.h>