Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ieee1394 Remove lonely splx in fw_detach.



details:   https://anonhg.NetBSD.org/src/rev/b19864fe7c91
branches:  trunk
changeset: 499063:b19864fe7c91
user:      enami <enami%NetBSD.org@localhost>
date:      Fri Nov 10 03:45:09 2000 +0000

description:
Remove lonely splx in fw_detach.

diffstat:

 sys/dev/ieee1394/if_fw.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r c8050f82e6f8 -r b19864fe7c91 sys/dev/ieee1394/if_fw.c
--- a/sys/dev/ieee1394/if_fw.c  Fri Nov 10 03:37:42 2000 +0000
+++ b/sys/dev/ieee1394/if_fw.c  Fri Nov 10 03:45:09 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_fw.c,v 1.1 2000/11/05 17:17:15 onoe Exp $   */
+/*     $NetBSD: if_fw.c,v 1.2 2000/11/10 03:45:09 enami Exp $  */
 
 /*
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -183,7 +183,6 @@
 {
        struct fw_softc *sc = (struct fw_softc *)self;
        struct ifnet *ifp = &sc->sc_ic.ic_if;
-       int s;
 
        /* Succeed if there is no work to do. */
        if ((sc->sc_flags & FWF_ATTACHED) == 0)
@@ -199,7 +198,6 @@
                        (*sc->sc_disable)(sc);
                sc->sc_flags &= ~FWF_ENABLED;
        }
-       splx(s);
        return 0;
 }
 



Home | Main Index | Thread Index | Old Index