summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2014-09-09 20:30:09 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2014-09-09 20:30:09 +0000
commit0061a589e327a1f156a570b5588666b3ff9fd574 (patch)
tree68a811226efc0a55aac40aa27962ddb285dab61c
parentf31e2d68021b8151da9566b7fe0fdba388bb1776 (diff)
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.h6
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);