diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-29 10:20:46 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-31 18:28:32 +0100 |
commit | 845b54efafa5c28040570dcb6d7f8f84d23e37f3 (patch) | |
tree | 816677bbbbe37dcfa06793595c97537e70a50da8 /include | |
parent | 855bdb6c8a60ae20043531dc965fcb1ed171d7d9 (diff) |
qom: remove unused function
The function has been unused since commit 4fa28f23906 ("ppc/pnv:
Instantiate cores separately", 2019-12-17). The idea was that
you could use it to build an array of objects via pointer
arithmetic, but no one is doing it anymore.
Cc: Dr. David Alan Gilbert <dave@treblig.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/qom/object.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/qom/object.h b/include/qom/object.h index 2af9854675..43c135984a 100644 --- a/include/qom/object.h +++ b/include/qom/object.h @@ -2033,14 +2033,6 @@ int object_child_foreach_recursive(Object *obj, Object *container_get(Object *root, const char *path); /** - * object_type_get_instance_size: - * @typename: Name of the Type whose instance_size is required - * - * Returns the instance_size of the given @typename. - */ -size_t object_type_get_instance_size(const char *typename); - -/** * object_property_help: * @name: the name of the property * @type: the type of the property |