diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-08-28 10:02:43 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-08-28 10:02:43 +0100 |
commit | bb80ae077ebcc7e0cdc0f7e2ec663896b6103da1 (patch) | |
tree | 196fb23a7c9c748a9c629310a537072ad92104f7 /include/hw/clock.h | |
parent | 870f0051b4ada9a361f7454f833432ae8c06c095 (diff) | |
download | qemu-bb80ae077ebcc7e0cdc0f7e2ec663896b6103da1.zip |
hw/clock: Remove unused clock_init*() functions
clock_init*() inlined funtions are simple wrappers around
clock_set*() and are not used. Remove them in favor of clock_set*().
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200806123858.30058-2-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/clock.h')
-rw-r--r-- | include/hw/clock.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/hw/clock.h b/include/hw/clock.h index f822a94220..468fed0996 100644 --- a/include/hw/clock.h +++ b/include/hw/clock.h @@ -209,17 +209,4 @@ static inline bool clock_is_enabled(const Clock *clk) return clock_get(clk) != 0; } -static inline void clock_init(Clock *clk, uint64_t value) -{ - clock_set(clk, value); -} -static inline void clock_init_hz(Clock *clk, uint64_t value) -{ - clock_set_hz(clk, value); -} -static inline void clock_init_ns(Clock *clk, uint64_t value) -{ - clock_set_ns(clk, value); -} - #endif /* QEMU_HW_CLOCK_H */ |