diff options
| author | Sean Christopherson <[email protected]> | 2019-08-27 14:40:28 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2019-09-24 13:37:36 +0200 |
| commit | 22da61c9123e574f607c92d8f69165b1ffff6d5f (patch) | |
| tree | 44d800b473e585f6cc00ee023c1932d3732c6ba1 /drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c | |
| parent | bc8a0aafcbb82e5c7dde486c03e6c51e3896d797 (diff) | |
KVM: x86: Clean up handle_emulation_failure()
When handling emulation failure, return the emulation result directly
instead of capturing it in a local variable. Future patches will move
additional cases into handle_emulation_failure(), clean up the cruft
before so there isn't an ugly mix of setting a local variable and
returning directly.
Reviewed-by: Vitaly Kuznetsov <[email protected]>
Reviewed-by: Liran Alon <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c')
0 files changed, 0 insertions, 0 deletions