Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/stand/biosboot Remove totally gratuitous check...



details:   https://anonhg.NetBSD.org/src/rev/c522de21f765
branches:  trunk
changeset: 477701:c522de21f765
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Thu Oct 28 05:20:05 1999 +0000

description:
Remove totally gratuitous check on the unit number in dev2bios().

diffstat:

 sys/arch/i386/stand/biosboot/devopen.c |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (19 lines):

diff -r 1fec30bc3c02 -r c522de21f765 sys/arch/i386/stand/biosboot/devopen.c
--- a/sys/arch/i386/stand/biosboot/devopen.c    Thu Oct 28 02:50:34 1999 +0000
+++ b/sys/arch/i386/stand/biosboot/devopen.c    Thu Oct 28 05:20:05 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: devopen.c,v 1.8 1999/04/14 11:45:39 drochner Exp $      */
+/*     $NetBSD: devopen.c,v 1.9 1999/10/28 05:20:05 mycroft Exp $       */
 
 /*
  * Copyright (c) 1996, 1997
@@ -89,9 +89,6 @@
        if (i == NUMBIOSDEVS)
                return (ENXIO);
 
-       if (unit >= 4)          /* ??? */
-               return (EUNIT);
-
        return (0);
 }
 



Home | Main Index | Thread Index | Old Index