mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-26 07:21:37 +00:00
hv: Remove unused variable in ptirq_msi_info
is_msix, part of ptirq_msi_info, is not used in the code. Tracked-On: #3205 Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
parent
34f122192c
commit
4c09051c7b
@ -89,7 +89,6 @@ static int32_t vmsi_remap(const struct pci_vdev *vdev, bool enable)
|
||||
addrhi = 0U;
|
||||
}
|
||||
|
||||
info.is_msix = 0;
|
||||
info.vmsi_addr.full = (uint64_t)addrlo | ((uint64_t)addrhi << 32U);
|
||||
|
||||
/* MSI is being enabled or disabled */
|
||||
|
@ -74,7 +74,6 @@ static int32_t vmsix_remap_entry(const struct pci_vdev *vdev, uint32_t index, bo
|
||||
void *hva;
|
||||
int32_t ret;
|
||||
|
||||
info.is_msix = 1;
|
||||
info.vmsi_addr.full = vdev->msix.tables[index].addr;
|
||||
info.vmsi_data.full = (enable) ? vdev->msix.tables[index].data : 0U;
|
||||
|
||||
|
@ -117,7 +117,6 @@ struct ptirq_msi_info {
|
||||
union msi_data_reg vmsi_data; /* virt msi_data */
|
||||
union msi_addr_reg pmsi_addr; /* phys msi_addr */
|
||||
union msi_data_reg pmsi_data; /* phys msi_data */
|
||||
int32_t is_msix; /* 0-MSI, 1-MSIX */
|
||||
};
|
||||
|
||||
struct ptirq_remapping_info;
|
||||
|
Loading…
Reference in New Issue
Block a user