From 0061a589e327a1f156a570b5588666b3ff9fd574 Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Tue, 9 Sep 2014 20:30:09 +0000 Subject: remove the scsi_task() wrapper around workq_add_task now that nothing uses it. dont need to include workq.h anymore here either now. --- sys/scsi/scsiconf.h | 6 +----- 1 file changed, 1 insertion(+), 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 #include -#include #include #include @@ -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); -- cgit v1.2.3