Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 48202 Build 45089: arc lint + arc unit
Event Timeline
sys/dev/virtio/virtio_endian.h | ||
---|---|---|
46 | This function looks like a small optimization. I don't think that this optimization makes sense because it makes the code harder to read for no value. static inline uint16_t virtio_htog16(bool modern, uint16_t val) { if (modern) return (htole16(val)); else return (val); } |
sys/dev/virtio/virtio_endian.h | ||
---|---|---|
46 | I agree with Corvin's suggestion and think it is more readable. |