On 7/25/21 1:05 PM, Mark Cave-Ayland wrote:
> 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 <[email protected]>
> ---
>  hw/m68k/q800.c        |  2 +-
>  include/qemu/bitops.h | 22 ----------------------
>  2 files changed, 1 insertion(+), 23 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>

Reply via email to