Skip to content

Commit 8a01902

Browse files
nikunjadsean-jc
authored andcommitted
KVM: SEV: Use to_kvm_sev_info() for fetching kvm_sev_info struct
Simplify code by replacing &to_kvm_svm(kvm)->sev_info with to_kvm_sev_info() helper function. Wherever possible, drop the local variable declaration and directly use the helper instead. No functional changes. Signed-off-by: Nikunj A Dadhania <[email protected]> Reviewed-by: Pavan Kumar Paluri <[email protected]> Reviewed-by: Pankaj Gupta <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
1 parent a64dcfb commit 8a01902

File tree

2 files changed

+54
-78
lines changed

2 files changed

+54
-78
lines changed

0 commit comments

Comments
 (0)