mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
qerror: Remove assert_no_error()
This is no longer needed, and is obsoleted by error_abort. Remove. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
This commit is contained in:
parent
87ea75d5e1
commit
5942787183
2 changed files with 0 additions and 9 deletions
|
@ -121,14 +121,6 @@ void qerror_report_err(Error *err)
|
|||
}
|
||||
}
|
||||
|
||||
void assert_no_error(Error *err)
|
||||
{
|
||||
if (err) {
|
||||
qerror_report_err(err);
|
||||
abort();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* qobject_to_qerror(): Convert a QObject into a QError
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue