summaryrefslogtreecommitdiff
path: root/sys/dev/sdmmc/sdmmc_scsi.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2020-01-25 21:48:44 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2020-01-25 21:48:44 +0000
commit376fc997e895b049eb7bae75a0e6c3612a083fc2 (patch)
treecb2a8e5b49feaa96e791f7a933a0255e7075dce6 /sys/dev/sdmmc/sdmmc_scsi.c
parent10152ae6d1da1a3cb87035d35c259039a51e8bdc (diff)
Drivers that implement their own *minphys() don't need to call the
system minphys(). scsi_minphys() will do that and cd/sd/st will call scsi_minphys(). ok jmatthew@ as part of larger diff
Diffstat (limited to 'sys/dev/sdmmc/sdmmc_scsi.c')
-rw-r--r--sys/dev/sdmmc/sdmmc_scsi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/sdmmc/sdmmc_scsi.c b/sys/dev/sdmmc/sdmmc_scsi.c
index 870d0d15da2..b6c175f013f 100644
--- a/sys/dev/sdmmc/sdmmc_scsi.c
+++ b/sys/dev/sdmmc/sdmmc_scsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sdmmc_scsi.c,v 1.42 2018/03/30 07:18:39 jmatthew Exp $ */
+/* $OpenBSD: sdmmc_scsi.c,v 1.43 2020/01/25 21:48:43 krw Exp $ */
/*
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -556,8 +556,6 @@ sdmmc_scsi_minphys(struct buf *bp, struct scsi_link *sl)
if (sc->sc_max_xfer != 0 &&
bp->b_bcount > sf->csd.sector_size * sc->sc_max_xfer)
bp->b_bcount = sf->csd.sector_size * sc->sc_max_xfer;
-
- minphys(bp);
}
#ifdef HIBERNATE