mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-22 17:54:52 +00:00
Fix warning; line 1640: ciss_abort_request defined but not used.
This commit is contained in:
parent
810ffc1e83
commit
6197ca159f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=88113
|
@ -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
|
||||
|
||||
|
||||
/************************************************************************
|
||||
|
|
Loading…
Reference in a new issue