Home
last modified time | relevance | path

Searched hist:d33a1217bdbd109c259b69e43f0464eaec44bd45 (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/dev/xen/blkfront/
H A Dblkfront.cdiff d33a1217bdbd109c259b69e43f0464eaec44bd45 Sat Jun 20 00:40:58 CEST 2015 Colin Percival <cperciva@FreeBSD.org> Minor clean up to xbd_queue_cb:
* nsegs must be at most BLKIF_MAX_SEGMENTS_PER_REQUEST (since we specify
that limit to bus_dma_tag_create), so KASSERT that rather than silently
adjusting the request.
* block_segs is now a synonym for nsegs, so garbage collect that variable.
* nsegs is never read during or after the while loop, so remove the dead
decrement from the loop.

These were all left behind from the pre-r284296 support for a "segment
block" extension.