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 <nikunj@amd.com> Reviewed-by:
Pavan Kumar Paluri <papaluri@amd.com> Reviewed-by:
Pankaj Gupta <pankaj.gupta@amd.com> Link: https://lore.kernel.org/r/20250123055140.144378-1-nikunj@amd.com Signed-off-by:
Sean Christopherson <seanjc@google.com>
Loading
Please register or sign in to comment