diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-02-05 16:29:31 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-02-05 16:29:31 +0000 |
commit | 2bd78861daf04f2a8a138592f716ee616c54cb44 (patch) | |
tree | 1ee27bd5a5d19fecc05c1cffd83b894f58bf7044 /sys/dev/pci/qle.c | |
parent | 9b9477743c82bfd5aa1afc14395edd7cbfacbaec (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/dev/pci/qle.c')
-rw-r--r-- | sys/dev/pci/qle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/qle.c b/sys/dev/pci/qle.c index 8e2ca42add0..5787f45c423 100644 --- a/sys/dev/pci/qle.c +++ b/sys/dev/pci/qle.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qle.c,v 1.50 2020/01/23 07:53:00 krw Exp $ */ +/* $OpenBSD: qle.c,v 1.51 2020/02/05 16:29:30 krw Exp $ */ /* * Copyright (c) 2013, 2014 Jonathan Matthew <jmatthew@openbsd.org> @@ -255,7 +255,7 @@ int qle_scsi_probe(struct scsi_link *); struct scsi_adapter qle_switch = { - qle_scsi_cmd, scsi_minphys, qle_scsi_probe, NULL, NULL + qle_scsi_cmd, NULL, qle_scsi_probe, NULL, NULL }; u_int32_t qle_read(struct qle_softc *, int); |