mirror_qemu/scripts/coccinelle
Markus Armbruster 50beeb6809 Use error_fatal to simplify obvious fatal errors (again)
Add a slight improvement of the Coccinelle semantic patch from commit
007b06578a, and use it to clean up.  It leaves dead Error * variables
behind, cleaned up manually.

Cc: David Gibson <david@gibson.dropbear.id.au>
Cc: Alexander Graf <agraf@suse.de>
Cc: Eric Blake <eblake@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20181017082702.5581-3-armbru@redhat.com>
2018-10-19 14:51:34 +02:00
..
cpu_restore_state.cocci target/*helper: don't check retaddr before calling cpu_restore_state 2017-12-27 17:20:44 -08:00
err-bad-newline.cocci error: Strip trailing '\n' from error string arguments (again) 2016-08-08 09:00:44 +02:00
error_propagate_null.cocci error: Remove NULL checks on error_propagate() calls 2016-06-20 16:38:13 +02:00
inplace-byteswaps.cocci coccinelle: new inplace-byteswaps.cocci to remove inplace-byteswapping calls 2018-10-16 17:14:55 +01:00
memory-region-init-ram.cocci scripts/coccinelle/memory-region-init-ram.cocci: New script 2017-07-14 17:59:42 +01:00
overflow_muldiv64.cocci
qobject.cocci qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 08:27:53 +02:00
remove_local_err.cocci error: Remove unnecessary local_err variables 2016-06-20 16:38:13 +02:00
remove_muldiv64.cocci
return_directly.cocci coccinelle: fix typo in comment 2017-06-07 14:38:44 +01:00
round.cocci
simplify_muldiv64.cocci
swap_muldiv64.cocci
tcg_gen_extract.cocci coccinelle: add a script to optimize tcg op using tcg_gen_extract() 2017-07-19 14:45:15 -07:00
typecast.cocci coccinelle: add a script to remove useless casts 2016-09-15 15:32:22 +03:00
use-error_fatal.cocci Use error_fatal to simplify obvious fatal errors (again) 2018-10-19 14:51:34 +02:00