[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 03/11] hw/timer/hpet: Drop the unused macro
From: |
Michael Tokarev |
Subject: |
[PULL 03/11] hw/timer/hpet: Drop the unused macro |
Date: |
Sat, 28 Dec 2024 14:54:38 +0300 |
From: Zhao Liu <zhao1.liu@intel.com>
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 <zhao1.liu@intel.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
include/hw/timer/hpet.h | 1 -
1 file changed, 1 deletion(-)
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
{
--
2.39.5
- [PULL 00/11] Trivial patches for 2024-12-28, Michael Tokarev, 2024/12/28
- [PULL 01/11] docs/devel: remove dead video link for sourcehut submit process, Michael Tokarev, 2024/12/28
- [PULL 02/11] hw/timer/hpet: Fix comment about capabilities register, Michael Tokarev, 2024/12/28
- [PULL 05/11] docs: Correct '-runas' and '-fsdev/-virtfs proxy' indentation, Michael Tokarev, 2024/12/28
- [PULL 06/11] docs: Correct release of TCG trace-events removal, Michael Tokarev, 2024/12/28
- [PULL 09/11] hw/riscv/riscv-iommu-sys.c: fix duplicated 'table_size', Michael Tokarev, 2024/12/28
- [PULL 11/11] qmp: update vhost-user protocol feature maps, Michael Tokarev, 2024/12/28
- [PULL 03/11] hw/timer/hpet: Drop the unused macro,
Michael Tokarev <=
- [PULL 04/11] vvfat: fix ubsan issue in create_long_filename, Michael Tokarev, 2024/12/28
- [PULL 10/11] contrib/plugins/bbv.c: Start bb index from 1, Michael Tokarev, 2024/12/28
- [PULL 08/11] target/i386/cpu: Fix notes for CPU models, Michael Tokarev, 2024/12/28
- [PULL 07/11] docs: Replace 'since' -> 'removed in' in removed-features.rst, Michael Tokarev, 2024/12/28
- Re: [PULL 00/11] Trivial patches for 2024-12-28, Stefan Hajnoczi, 2024/12/28