Whamcloud - gitweb
lib/blkid: remove 32-bit x86 byteswap assembly
authorEric Biggers <ebiggers@google.com>
Sat, 21 Jan 2023 20:31:59 +0000 (12:31 -0800)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 27 Jan 2023 17:33:59 +0000 (12:33 -0500)
commitc49ed1fe5fae98fa6272fdb205f34cef4c63aeb3
tree7fa1686dd605a1607af6f95e551777ee9d5bf58d
parent11f1e85ee3b96bdd08c69d8617cd82f5462e7f0b
lib/blkid: remove 32-bit x86 byteswap assembly

libblkid contains 32-bit x86 assembly language implementations of 16-bit
and 32-bit byteswaps.  However, modern compilers can easily generate the
bswap instruction automatically from the corresponding C expression.
And no one ever bothered to add assembly for x86_64 or other
architectures, anyway.  So let's just remove this outdated code, which
was maybe useful in the 90s, but is no longer useful.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/blkid/probe.h