diff options
author | gibbs <gibbs@FreeBSD.org> | 1999-04-07 22:57:48 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1999-04-07 22:57:48 +0000 |
commit | 71072fc11358b4c222da690ee5866cc00f1a8fe3 (patch) | |
tree | 4a033fb4ddaf6f21087caaa4afb9d6905a2eecb2 /sys/cam/cam_queue.h | |
parent | 9e60b40925fe4dbc882d66c232811d1366a442c1 (diff) | |
download | FreeBSD-src-71072fc11358b4c222da690ee5866cc00f1a8fe3.zip FreeBSD-src-71072fc11358b4c222da690ee5866cc00f1a8fe3.tar.gz |
Remove camq_regen(). We already perform modular comparisons
for generation counts, so no further steps to deal with generation
count wrap are required.
Fix an off by one problem in the camq heap code.
Diffstat (limited to 'sys/cam/cam_queue.h')
-rw-r--r-- | sys/cam/cam_queue.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/cam/cam_queue.h b/sys/cam/cam_queue.h index 7e3d0df..c9135b7 100644 --- a/sys/cam/cam_queue.h +++ b/sys/cam/cam_queue.h @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: cam_queue.h,v 1.1 1998/09/15 06:33:23 gibbs Exp $ + * $Id: cam_queue.h,v 1.2 1998/12/15 08:12:03 gibbs Exp $ */ #ifndef _CAM_CAM_QUEUE_H @@ -98,8 +98,6 @@ void cam_ccbq_free(struct cam_ccbq *ccbq); void cam_ccbq_fini(struct cam_ccbq *ccbq); -void cam_ccbq_regen(struct cam_ccbq *ccbq); - /* * Allocate and initialize a cam_queue structure. */ @@ -146,8 +144,6 @@ cam_pinfo *camq_remove(struct camq *queue, int index); void camq_change_priority(struct camq *queue, int index, u_int32_t new_priority); -void camq_regen(struct camq *queue); - static __inline int cam_ccbq_pending_ccb_count(struct cam_ccbq *ccbq); |