On 23.05.2022 17:38, Andrew Cooper wrote: > On 23/05/2022 15:56, Julien Grall wrote: >> On 23/05/2022 15:50, Lin Liu wrote: >>> Update to use byteswap to swap bytes >>> be*_to_cpup(p) is short for be*to_cpu(*p), update to use latter >>> one explictly >> >> But why? > > Because deleting code obfuscation constructs *is* the point of the cleanup.
It's obfuscation only as long as not implemented correctly, i.e. dealing with unaligned data. Then "be*_to_cpup(p) is short for be*to_cpu(*p)" no longer applies. Jan
