diff options
author | Michal Luczaj <[email protected]> | 2023-03-27 19:54:57 +0200 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2023-06-01 13:48:54 -0700 |
commit | 70b0bc4c0a05cb68ffeeaba8c8340896b5ff6fd7 (patch) | |
tree | d74308c62abb8ebd350bdf2aca9236236ac614ef /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | c9d601548603c54919a3b1333c5b972252b4031d (diff) |
KVM: Don't kfree(NULL) on kzalloc() failure in kvm_assign_ioeventfd_idx()
On kzalloc() failure, taking the `goto fail` path leads to kfree(NULL).
Such no-op has no use. Move it out.
Signed-off-by: Michal Luczaj <[email protected]>
Reviewed-by: Sean Christopherson <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions