diff options
author | Michal Luczaj <mhal@rbox.co> | 2023-01-07 01:12:56 +0100 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-02-03 15:55:17 -0800 |
commit | e73ba25fdc241c06ab48a1f708a30305d6036e66 (patch) | |
tree | 4d5687202ebee37974a67d8c5044545ceb961c5d /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | 4559e6cf45b555e7f2d73dd6a09a23afcbac9ec1 (diff) |
KVM: x86: Simplify msr_io()
As of commit bccf2150fe62 ("KVM: Per-vcpu inodes"), __msr_io() doesn't
return a negative value. Remove unnecessary checks.
Signed-off-by: Michal Luczaj <mhal@rbox.co>
Link: https://lore.kernel.org/r/20230107001256.2365304-7-mhal@rbox.co
[sean: call out commit which left behind the unnecessary check]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions