]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: nSVM: Remove redundant cases in nested_svm_intercept()
authorYosry Ahmed <yosry.ahmed@linux.dev>
Fri, 24 Oct 2025 19:29:16 +0000 (19:29 +0000)
committerSean Christopherson <seanjc@google.com>
Wed, 5 Nov 2025 21:32:36 +0000 (13:32 -0800)
commit3d31bdf9cc79a3752bd1b6ba91af4e5ba37c47a8
treeab4cdf8c109969e1262c8dc86d13fc4a075a9e06
parent940fc47cfb0d78b0f5db1f71dfce07c4711b9457
KVM: nSVM: Remove redundant cases in nested_svm_intercept()

Both the CRx and DRx cases are doing exactly what the default case is
doing, remove them.

No functional change intended.

Signed-off-by: Yosry Ahmed <yosry.ahmed@linux.dev>
Link: https://patch.msgid.link/20251024192918.3191141-2-yosry.ahmed@linux.dev
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/nested.c