diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-03-30 14:54:31 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-06-18 15:14:38 +0200 |
commit | 8cb6789a31e8c5823b36d84416433c145a1e6442 (patch) | |
tree | 43f266ce5c165ee1c393173fa143e12b19a377d0 /hw/qdev-properties.c | |
parent | ac7d1ba6d15ff10343d2ff5ea331fa6a41174f3f (diff) |
qdev: Remove qdev_prop_exists()
Can be replaced everywhere with object_property_find().
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/qdev-properties.c')
-rw-r--r-- | hw/qdev-properties.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/qdev-properties.c b/hw/qdev-properties.c index f4b9a0e2c8..099a7aa96f 100644 --- a/hw/qdev-properties.c +++ b/hw/qdev-properties.c @@ -931,11 +931,6 @@ static Property *qdev_prop_find(DeviceState *dev, const char *name) return NULL; } -int qdev_prop_exists(DeviceState *dev, const char *name) -{ - return qdev_prop_find(dev, name) ? true : false; -} - void error_set_from_qdev_prop_error(Error **errp, int ret, DeviceState *dev, Property *prop, const char *value) { |