aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/amr/amr_pci.c
diff options
context:
space:
mode:
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);
}