summaryrefslogtreecommitdiffstats
path: root/sys/dev/ciss
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-12-18 08:01:48 +0000
committerpeter <peter@FreeBSD.org>2001-12-18 08:01:48 +0000
commit05cd34fa8f27019ddd68dbb7ed92a336f71f0091 (patch)
tree62d7e806bfc0581b898afd30aa05c48ea014075b /sys/dev/ciss
parentf9a08ea4371d782330a2b85d497393106168a9ab (diff)
downloadFreeBSD-src-05cd34fa8f27019ddd68dbb7ed92a336f71f0091.zip
FreeBSD-src-05cd34fa8f27019ddd68dbb7ed92a336f71f0091.tar.gz
Fix warning; line 1640: ciss_abort_request defined but not used.
Diffstat (limited to 'sys/dev/ciss')
-rw-r--r--sys/dev/ciss/ciss.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c
index 6744c5b..e40d60c 100644
--- a/sys/dev/ciss/ciss.c
+++ b/sys/dev/ciss/ciss.c
@@ -134,7 +134,9 @@ static int ciss_report_request(struct ciss_request *cr, int *command_status,
static int ciss_synch_request(struct ciss_request *cr, int timeout);
static int ciss_poll_request(struct ciss_request *cr, int timeout);
static int ciss_wait_request(struct ciss_request *cr, int timeout);
+#if 0
static int ciss_abort_request(struct ciss_request *cr);
+#endif
/* request queueing */
static int ciss_get_request(struct ciss_softc *sc, struct ciss_request **crp);
@@ -1631,6 +1633,7 @@ ciss_wait_request(struct ciss_request *cr, int timeout)
return(error);
}
+#if 0
/************************************************************************
* Abort a request. Note that a potential exists here to race the
* request being completed; the caller must deal with this.
@@ -1677,6 +1680,7 @@ ciss_abort_request(struct ciss_request *ar)
return(error);
}
+#endif
/************************************************************************
OpenPOWER on IntegriCloud