]> xenbits.xensource.com Git - xen.git/commit
xen/decompressors: Remove use of *_to_cpup() helpers
authorLin Liu <lin.liu@citrix.com>
Thu, 21 Oct 2021 02:52:39 +0000 (02:52 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 18 Apr 2025 14:16:12 +0000 (15:16 +0100)
commit60dcff871e34fd788bffccfcd5a936f7984d0a69
treedf3a5558082e432308beca8afa292a13666dfa35
parentf689c56076695a65ef3d57dbc27e2ee033824c45
xen/decompressors: Remove use of *_to_cpup() helpers

These wrappers simply hide a deference, which adds to the cognitive complexity
of reading the code.  As such, they're not going to be included in the new
byteswap infrastructure.

No functional change.

Signed-off-by: Lin Liu <lin.liu@citrix.com>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
tools/libs/guest/xg_dom_decompress_lz4.c
tools/libs/guest/xg_dom_decompress_unsafe_lzo1x.c
tools/libs/guest/xg_dom_decompress_unsafe_xz.c
xen/common/lz4/defs.h
xen/common/unlzo.c
xen/common/xz/private.h