HomeFreeBSD

Tidy up the unmapped I/O code in qphysio.

Description

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

Details

Provenance
jhbAuthored on
Reviewer
kib
Parents
rS297463: WITHOUT_TOOLCHAIN: Skip building of h_raw.
Branches
Unknown
Tags
Unknown