summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2016-05-12 15:26:43 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2016-05-12 15:26:43 +0000
commit8000f937ca9d5c9b6f0c98612b6074d80f4e7805 (patch)
treea14961ea2236107f8ff31c7d1a2d3e7a21e13850 /sys
parent3cf589403e9e7c9202506b77d2d7437996861320 (diff)
Remove bogus rw_exit() call.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/sdmmc/sdmmc_io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sdmmc/sdmmc_io.c b/sys/dev/sdmmc/sdmmc_io.c
index 13c95710f4f..ec3a987f149 100644
--- a/sys/dev/sdmmc/sdmmc_io.c
+++ b/sys/dev/sdmmc/sdmmc_io.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sdmmc_io.c,v 1.25 2016/05/05 11:01:08 kettenis Exp $ */
+/* $OpenBSD: sdmmc_io.c,v 1.26 2016/05/12 15:26:42 kettenis Exp $ */
/*
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -424,7 +424,7 @@ sdmmc_io_rw_extended(struct sdmmc_softc *sc, struct sdmmc_function *sf,
cmd.c_flags |= SCF_CMD_READ;
error = sdmmc_mmc_command(sc, &cmd);
- rw_exit(&sc->sc_lock);
+
return error;
}