HomeFreeBSD

virtio: Silence a -Wunused warning

Description

virtio: Silence a -Wunused warning

Remove virtio_swap_endian(). htole*() are nops on little-endian
platforms. No functional change intended.

MFC after: 1 week
Reviewed by: corvink, jhb
Differential Revision: https://reviews.freebsd.org/D37298

(cherry picked from commit db494ceb65ef301c8fb48f57b60c4f7a9cfebba5)

Details

Provenance
markjAuthored on Nov 14 2022, 8:07 PM
Reviewer
corvink
Differential Revision
D37298: virtio: Silence a -Wunused warning
Parents
rG7a5de4db8cf1: iommu_gas: drop fini cleanup loop
Branches
Unknown
Tags
Unknown