bitops.h: revert db1ffc32dd ("qemu/bitops.h: add bitrev8 implementation")
commit2f0e10a4866c16e0b6f98fcc87add047200e4896
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sun, 25 Jul 2021 11:05:57 +0000 (25 12:05 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 26 Jul 2021 16:56:41 +0000 (26 06:56 -1000)
tree109f1640dd3c651ed972ef45234eed06fd760987
parentc8cf47a946200239826e58abc203dcaa4fdbb30c
bitops.h: revert db1ffc32dd ("qemu/bitops.h: add bitrev8 implementation")

Commit db1ffc32dd ("qemu/bitops.h: add bitrev8 implementation") introduced
a bitrev8() function to reverse the bit ordering required for storing the
MAC address in the q800 PROM.

This function is not required since QEMU implements its own revbit8()
function which does exactly the same thing. Remove the extraneous
bitrev8() function and switch its only caller in hw/m68k/q800.c to
use revbit8() instead.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210725110557.3007-1-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
hw/m68k/q800.c
include/qemu/bitops.h