[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 5/5] machine: remove temporary inline functions
|
From: |
Damien Hedde |
|
Subject: |
[PATCH 5/5] machine: remove temporary inline functions |
|
Date: |
Wed, 30 Mar 2022 18:12:15 +0200 |
Now we have renamed all call to these old functions, we
can delete the temporary inline we've defined.
Signed-off-by: Damien Hedde <damien.hedde@greensocs.com>
---
include/hw/boards.h | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/include/hw/boards.h b/include/hw/boards.h
index 9ce7d705c9..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 void device_type_is_dynamic_sysbus(MachineClass *mc,
- const char *type)
-{
- device_type_is_dynamic_allowed(mc, type);
-}
/**
* device_is_dynamic_sysbus: test whether device is a dynamic sysbus device
--
2.35.1