Skip to content

Commit 11ea52f

Browse files
trueptolemyMichael Tokarev
authored andcommitted
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 <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Michael Tokarev <[email protected]> Signed-off-by: Michael Tokarev <[email protected]>
1 parent f2ccc41 commit 11ea52f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/hw/timer/hpet.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
#define HPET_TN_CFG_WRITE_MASK 0x7f4e
5959
#define HPET_TN_INT_ROUTE_SHIFT 9
6060
#define HPET_TN_INT_ROUTE_CAP_SHIFT 32
61-
#define HPET_TN_CFG_BITS_READONLY_OR_RESERVED 0xffff80b1U
6261

6362
struct hpet_fw_entry
6463
{

0 commit comments

Comments
 (0)