]> git.proxmox.com Git - mirror_qemu.git/commit - backends/hostmem.c
qom: Remove unused errp parameter from can_be_deleted()
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 29 Aug 2017 22:03:37 +0000 (19:03 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 1 Sep 2017 13:43:07 +0000 (10:43 -0300)
commit3beacfb98ba5f594dff4a4541401f2849e0a9ec6
tree006850050a15edf9ed00e01587f3004479803f64
parent223cd0e13f2e46078d7b573f0b8402bfbee339be
qom: Remove unused errp parameter from can_be_deleted()

The errp argument is ignored by all implementations of the
method, and user_creatable_del() would break if any
implementation set an error (because it calls error_setg(errp) if
the function returns false).  Remove the unused parameter.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20170829220337.23427-1-ehabkost@redhat.com>
Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
backends/cryptodev.c
backends/hostmem.c
include/qom/object_interfaces.h
qom/object_interfaces.c