diff options
author | cperciva <cperciva@FreeBSD.org> | 2015-06-19 22:40:58 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2015-06-19 22:40:58 +0000 |
commit | 87997fdb5d90f3d2d16579b9fb8b3f6efd8f5fe0 (patch) | |
tree | 874960ee1201b87ef905202f9f60b6f2c477ff82 /contrib/llvm/tools/clang/lib/Sema/SemaObjCProperty.cpp | |
parent | 200a3fb3721aaba084023572ebe9d53bff39946d (diff) | |
download | FreeBSD-src-87997fdb5d90f3d2d16579b9fb8b3f6efd8f5fe0.zip FreeBSD-src-87997fdb5d90f3d2d16579b9fb8b3f6efd8f5fe0.tar.gz |
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.
Diffstat (limited to 'contrib/llvm/tools/clang/lib/Sema/SemaObjCProperty.cpp')
0 files changed, 0 insertions, 0 deletions