summaryrefslogtreecommitdiff
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorMaxim Levitsky <mlevitsk@redhat.com>2021-09-22 17:28:43 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2021-09-22 17:47:43 +0300
commit136a55c054ca03b44b74efe03f136d495dd84ec8 (patch)
tree9847950a06fc86a2796d84845847ffa3cdd3fe28 /net/unix/unix_bpf.c
parente85d3e7b495bb6c0b847a693f5f6d4bd429fae55 (diff)
downloadlinux-136a55c054ca03b44b74efe03f136d495dd84ec8.tar.xz
KVM: x86: nSVM: refactor svm_leave_smm and smm_enter_smm
Use return statements instead of nested if, and fix error path to free all the maps that were allocated. Suggested-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com> Message-Id: <20210913140954.165665-2-mlevitsk@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions