diff options
author | Scott Long <scottl@FreeBSD.org> | 2005-11-06 15:13:42 +0000 |
---|---|---|
committer | Scott Long <scottl@FreeBSD.org> | 2005-11-06 15:13:42 +0000 |
commit | fceb189d650f56827b35d8b9d11220beccf221ba (patch) | |
tree | 8a8a9dce5e31a6cec4b992169962bd299d7dfacf /sys/dev/amr/amr_pci.c | |
parent | 32948b81c442618246906e6cbc40da567fda00a6 (diff) | |
download | src-fceb189d650f56827b35d8b9d11220beccf221ba.tar.gz src-fceb189d650f56827b35d8b9d11220beccf221ba.zip |
Notes
Diffstat (limited to 'sys/dev/amr/amr_pci.c')
-rw-r--r-- | sys/dev/amr/amr_pci.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/amr/amr_pci.c b/sys/dev/amr/amr_pci.c index c2c9f1b91c5d..5a3152b01ea0 100644 --- a/sys/dev/amr/amr_pci.c +++ b/sys/dev/amr/amr_pci.c @@ -344,7 +344,7 @@ static int amr_pci_shutdown(device_t dev) { struct amr_softc *sc = device_get_softc(dev); - int i,error,s; + int i,error; debug_called(1); @@ -356,7 +356,6 @@ amr_pci_shutdown(device_t dev) device_printf(sc->amr_dev, "flushing cache..."); printf("%s\n", amr_flush(sc) ? "failed" : "done"); - s = splbio(); error = 0; /* delete all our child devices */ @@ -371,7 +370,6 @@ amr_pci_shutdown(device_t dev) /* XXX disable interrupts? */ shutdown_out: - splx(s); return(error); } |