diff options
author | 2014-09-09 20:30:08 +0000 | |
---|---|---|
committer | 2014-09-09 20:30:08 +0000 | |
commit | 05d4db16f535bbf91a09c1b7e73d7c7fbed15045 (patch) | |
tree | 82da08695aa8d3c9a240a7788d77a4211207e785 | |
parent | replace scsi_task(), which is a wrapper around workqs, with a quick (diff) | |
download | wireguard-openbsd-05d4db16f535bbf91a09c1b7e73d7c7fbed15045.tar.xz wireguard-openbsd-05d4db16f535bbf91a09c1b7e73d7c7fbed15045.zip |
remove the scsi_task() wrapper around workq_add_task now that nothing
uses it. dont need to include workq.h anymore here either now.
-rw-r--r-- | sys/scsi/scsiconf.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h index 43cfb63916f..da32b61439e 100644 --- a/sys/scsi/scsiconf.h +++ b/sys/scsi/scsiconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: scsiconf.h,v 1.161 2014/04/22 07:29:11 dlg Exp $ */ +/* $OpenBSD: scsiconf.h,v 1.162 2014/09/09 20:30:08 dlg Exp $ */ /* $NetBSD: scsiconf.h,v 1.35 1997/04/02 02:29:38 mycroft Exp $ */ /* @@ -52,7 +52,6 @@ #include <sys/queue.h> #include <sys/timeout.h> -#include <sys/workq.h> #include <sys/mutex.h> #include <scsi/scsi_debug.h> @@ -469,9 +468,6 @@ SIMPLEQ_HEAD(scsi_xfer_list, scsi_xfer); const void *scsi_inqmatch(struct scsi_inquiry_data *, const void *, int, int, int *); -#define scsi_task(_f, _a1, _a2, _fl) \ - workq_add_task(NULL, (_fl), (_f), (_a1), (_a2)) - void scsi_init(void); int scsi_test_unit_ready(struct scsi_link *, int, int); int scsi_inquire(struct scsi_link *, struct scsi_inquiry_data *, int); |