From 6197ca159f13e6cd8dccef054e2d672ab7b61de9 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Tue, 18 Dec 2001 08:01:48 +0000 Subject: [PATCH] Fix warning; line 1640: ciss_abort_request defined but not used. --- sys/dev/ciss/ciss.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c index 6744c5b8bdf0..e40d60c0205c 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 /************************************************************************