Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbmips/malta Remove some unused code.



details:   https://anonhg.NetBSD.org/src/rev/66facd35d07b
branches:  trunk
changeset: 536140:66facd35d07b
user:      simonb <simonb%NetBSD.org@localhost>
date:      Mon Sep 09 06:36:39 2002 +0000

description:
Remove some unused code.

diffstat:

 sys/arch/evbmips/malta/disksubr.c |  11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diffs (25 lines):

diff -r cdaed7f9afd3 -r 66facd35d07b sys/arch/evbmips/malta/disksubr.c
--- a/sys/arch/evbmips/malta/disksubr.c Mon Sep 09 03:42:04 2002 +0000
+++ b/sys/arch/evbmips/malta/disksubr.c Mon Sep 09 06:36:39 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disksubr.c,v 1.1 2002/03/07 14:44:03 simonb Exp $      */
+/*     $NetBSD: disksubr.c,v 1.2 2002/09/09 06:36:39 simonb Exp $      */
 
 /*
  * Copyright (c) 1982, 1986, 1988 Regents of the University of California.
@@ -160,15 +160,6 @@
            (nlp->d_secsize % DEV_BSIZE) != 0)
                return(EINVAL);
 
-#ifdef notdef
-       /* XXX WHY WAS THIS HERE?! */
-       /* special case to allow disklabel to be invalidated */
-       if (nlp->d_magic == 0xffffffff) {
-               *olp = *nlp;
-               return (0);
-       }
-#endif
-
        if (nlp->d_magic != DISKMAGIC || nlp->d_magic2 != DISKMAGIC ||
            dkcksum(nlp) != 0)
                return (EINVAL);



Home | Main Index | Thread Index | Old Index