summaryrefslogtreecommitdiff
path: root/sys/scsi/scsiconf.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2020-02-05 16:29:31 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2020-02-05 16:29:31 +0000
commit2bd78861daf04f2a8a138592f716ee616c54cb44 (patch)
tree1ee27bd5a5d19fecc05c1cffd83b894f58bf7044 /sys/scsi/scsiconf.c
parent9b9477743c82bfd5aa1afc14395edd7cbfacbaec (diff)
Nuke unnecessary abstraction 'scsi_minphys()' which just calls
'minphys()'. Just use & check for NULL instead, since 'minphys()' is always called on the code path ([cd|sd|st]minphys) that calls physio().
Diffstat (limited to 'sys/scsi/scsiconf.c')
-rw-r--r--sys/scsi/scsiconf.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c
index 8c75eeb62e6..1c368b93c65 100644
--- a/sys/scsi/scsiconf.c
+++ b/sys/scsi/scsiconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.c,v 1.222 2019/12/08 13:05:12 krw Exp $ */
+/* $OpenBSD: scsiconf.c,v 1.223 2020/02/05 16:29:30 krw Exp $ */
/* $NetBSD: scsiconf.c,v 1.57 1996/05/02 01:09:01 neil Exp $ */
/*
@@ -1340,16 +1340,6 @@ scsi_devid_wwn(struct scsi_link *link)
return 0;
}
-/*
- * The 'scsi_minphys' member of struct scsi_adapter for drivers which don't
- * need any specific routine.
- */
-void
-scsi_minphys(struct buf *bp, struct scsi_link *sl)
-{
- minphys(bp);
-}
-
struct devid *
devid_alloc(u_int8_t type, u_int8_t flags, u_int8_t len, u_int8_t *id)
{