From: Zhao Liu Date: Tue, 26 Nov 2024 16:30:46 +0000 (+0800) Subject: hw/timer/hpet: Drop the unused macro X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=11ea52fcbeebe2bbef24ef2eedcc64800f5eaa82;p=qemu.git hw/timer/hpet: Drop the unused macro HPET_TN_CFG_BITS_READONLY_OR_RESERVED is not used in any place since HPET_TN_CFG_WRITE_MASK has been already used to check and fix the writable bits in hpet_ram_write(). Drop this unused macro. Signed-off-by: Zhao Liu Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Michael Tokarev Signed-off-by: Michael Tokarev --- diff --git a/include/hw/timer/hpet.h b/include/hw/timer/hpet.h index d17a8d4319..71e8c62453 100644 --- a/include/hw/timer/hpet.h +++ b/include/hw/timer/hpet.h @@ -58,7 +58,6 @@ #define HPET_TN_CFG_WRITE_MASK 0x7f4e #define HPET_TN_INT_ROUTE_SHIFT 9 #define HPET_TN_INT_ROUTE_CAP_SHIFT 32 -#define HPET_TN_CFG_BITS_READONLY_OR_RESERVED 0xffff80b1U struct hpet_fw_entry {