diff options
author | John Baldwin <jhb@FreeBSD.org> | 2016-03-31 17:27:30 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2016-03-31 17:27:30 +0000 |
commit | 4d805eacfa529ea9d1f01b2fbfa8de694a41cdfa (patch) | |
tree | 0be5457f9e7914ef37badeb47e7f80541dfe57d0 /sys/kern/kern_rctl.c | |
parent | fb71c286e83a2708578905df0c9c804ef76f18dd (diff) |
Tidy up the unmapped I/O code in qphysio.
- Move some blocks around to reduce the number of 'if (unmap)' checks.
- Use 'pbuf == NULL' instead of 'unmap'.
- Use nitems.
- Pull an assignment out of an if expression.
Reviewed by: kib
Sponsored by: Chelsio Communications
Notes
Notes:
svn path=/head/; revision=297464
Diffstat (limited to 'sys/kern/kern_rctl.c')
0 files changed, 0 insertions, 0 deletions