aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/amr/amr_pci.c
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2005-11-06 15:13:42 +0000
committerScott Long <scottl@FreeBSD.org>2005-11-06 15:13:42 +0000
commitfceb189d650f56827b35d8b9d11220beccf221ba (patch)
tree8a8a9dce5e31a6cec4b992169962bd299d7dfacf /sys/dev/amr/amr_pci.c
parent32948b81c442618246906e6cbc40da567fda00a6 (diff)
downloadsrc-fceb189d650f56827b35d8b9d11220beccf221ba.tar.gz
src-fceb189d650f56827b35d8b9d11220beccf221ba.zip
Notes
Diffstat (limited to 'sys/dev/amr/amr_pci.c')
-rw-r--r--sys/dev/amr/amr_pci.c4
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);
}