aboutsummaryrefslogtreecommitdiff
path: root/hw/rtc
diff options
context:
space:
mode:
authorXiaojuan Yang <yangxiaojuan@loongson.cn>2022-07-01 17:33:59 +0800
committerRichard Henderson <richard.henderson@linaro.org>2022-07-04 11:08:58 +0530
commit53a5eb2e7a7f8cebb3010fc658e935679379a0fa (patch)
treef4a5c6492d89838be416433cf5f71b90ea30fc30 /hw/rtc
parentdf11f3ea6957cfdbc1690767e90cf04585a6c601 (diff)
downloadqemu-53a5eb2e7a7f8cebb3010fc658e935679379a0fa.zip
qemu-53a5eb2e7a7f8cebb3010fc658e935679379a0fa.tar.gz
qemu-53a5eb2e7a7f8cebb3010fc658e935679379a0fa.tar.bz2
hw/rtc/ls7a_rtc: Remove unimplemented device in realized function
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>
Diffstat (limited to 'hw/rtc')
-rw-r--r--hw/rtc/ls7a_rtc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/rtc/ls7a_rtc.c b/hw/rtc/ls7a_rtc.c
index 780144b..f1e7a66 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)