[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 5/5] machine: remove temporary inline functions
|
From: |
Damien Hedde |
|
Subject: |
[PATCH v2 5/5] machine: remove temporary inline functions |
|
Date: |
Thu, 31 Mar 2022 13:53:12 +0200 |
Now we have renamed all calls to these old functions, we
can delete the temporary inline we've defined.
Signed-off-by: Damien Hedde <damien.hedde@greensocs.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
include/hw/boards.h | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/include/hw/boards.h b/include/hw/boards.h
index 1814793175..7efba048e9 100644
--- a/include/hw/boards.h
+++ b/include/hw/boards.h
@@ -52,11 +52,6 @@ void machine_parse_smp_config(MachineState *ms,
* it will get an error message.
*/
void machine_class_allow_dynamic_device(MachineClass *mc, const char *type);
-static inline void machine_class_allow_dynamic_sysbus_dev(MachineClass *mc,
- const char *type)
-{
- machine_class_allow_dynamic_device(mc, type);
-}
/**
* device_type_is_dynamic_allowed: Check if type is an allowed device
@@ -72,11 +67,6 @@ static inline void
machine_class_allow_dynamic_sysbus_dev(MachineClass *mc,
* Note that if @type has a parent type in the list, it is allowed too.
*/
bool device_type_is_dynamic_allowed(MachineClass *mc, const char *type);
-static inline bool device_type_is_dynamic_sysbus(MachineClass *mc,
- const char *type)
-{
- return device_type_is_dynamic_allowed(mc, type);
-}
/**
* device_is_dynamic_sysbus: test whether device is a dynamic sysbus device
--
2.35.1