diff mbox series

[PULL,17/23] hw/rtc/ls7a_rtc: Remove unimplemented device in realized function

Message ID 20220704093357.983255-18-richard.henderson@linaro.org
State Accepted
Commit 53a5eb2e7a7f8cebb3010fc658e935679379a0fa
Headers show
Series [PULL,01/23] linux-user: Add LoongArch generic header files | expand

Commit Message

Richard Henderson July 4, 2022, 9:33 a.m. UTC
From: Xiaojuan Yang <yangxiaojuan@loongson.cn>

Remove the unimplemented device when realized ls7a RTC, as it is not uesd.

Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220701093407.2150607-4-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 hw/rtc/ls7a_rtc.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/hw/rtc/ls7a_rtc.c b/hw/rtc/ls7a_rtc.c
index 780144b9da..f1e7a660e9 100644
--- a/hw/rtc/ls7a_rtc.c
+++ b/hw/rtc/ls7a_rtc.c
@@ -461,7 +461,6 @@  static void ls7a_rtc_realize(DeviceState *dev, Error **errp)
     d->save_toy_year = 0;
     d->save_rtc = 0;
 
-    create_unimplemented_device("mmio fallback 1", 0x10013ffc, 0x4);
 }
 
 static int ls7a_rtc_pre_save(void *opaque)