diff options
author | Markus Armbruster <armbru@redhat.com> | 2014-12-04 14:46:44 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-12-15 12:21:02 +0100 |
commit | 4be34d1e2140b6d1be611c4bfa542c54c232520b (patch) | |
tree | 3a8585d7a6d3f1a0657c68b4cb3179858e07701f /target-i386/ops_sse_header.h | |
parent | 18fc80553420a3188336baeeb542e9f2d1ada13b (diff) |
x86: Fuse g_malloc(); memset() into g_malloc0()
Coccinelle semantic patch:
@@
expression LHS, SZ;
@@
- LHS = g_malloc(SZ);
- memset(LHS, 0, SZ);
+ LHS = g_malloc0(SZ);
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-i386/ops_sse_header.h')
0 files changed, 0 insertions, 0 deletions