Commit c8e174b39887ea1992286ff8ffdbcf79f6057cf2

Authored by Miaohe Lin
Committed by Paolo Bonzini
1 parent ed4e7b057e

KVM: x86: svm: remove redundant assignment of var new_entry

new_entry is reassigned a new value next line. So
it's redundant and remove it.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

... ... @@ -1714,7 +1714,6 @@
1714 1714 if (!entry)
1715 1715 return -EINVAL;
1716 1716  
1717   - new_entry = READ_ONCE(*entry);
1718 1717 new_entry = __sme_set((page_to_phys(svm->avic_backing_page) &
1719 1718 AVIC_PHYSICAL_ID_ENTRY_BACKING_PAGE_MASK) |
1720 1719 AVIC_PHYSICAL_ID_ENTRY_VALID_MASK);