summaryrefslogtreecommitdiff
path: root/sys/dev/ic/trm.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/ic/trm.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/ic/trm.c')
-rw-r--r--sys/dev/ic/trm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/trm.c b/sys/dev/ic/trm.c
index 09839b02d73..7f7c558d664 100644
--- a/sys/dev/ic/trm.c
+++ b/sys/dev/ic/trm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trm.c,v 1.34 2020/01/23 07:53:00 krw Exp $
+/* $OpenBSD: trm.c,v 1.35 2020/01/25 21:48:42 krw Exp $
* ------------------------------------------------------------
* O.S : OpenBSD
* File Name : trm.c
@@ -2363,7 +2363,6 @@ trm_minphys(struct buf *bp, struct scsi_link *sl)
if (bp->b_bcount > (TRM_MAX_SG_LISTENTRY-1) * (long) NBPG) {
bp->b_bcount = (TRM_MAX_SG_LISTENTRY-1) * (long) NBPG;
}
- minphys(bp);
}
/*