> -----Original Message----- > From: Eduardo Habkost [mailto:[email protected]] > Sent: Wednesday, August 30, 2017 6:04 AM > To: [email protected] > Cc: Gonglei (Arei); Paolo Bonzini; Igor Mammedov; Andreas Färber; Lin Ma > Subject: [PATCH] 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 <[email protected]> > --- > include/qom/object_interfaces.h | 5 ++--- > backends/cryptodev.c | 2 +- > backends/hostmem.c | 2 +- > qom/object_interfaces.c | 6 +++--- > 4 files changed, 7 insertions(+), 8 deletions(-) >
Reviewed-by: Gonglei <[email protected]>
