xen/vPCI: Remove shadowed variable
PATCH 1/1 xen/vPCI: Remove shadowed variable
Resolves a MISRA R5.3 violation.
Fixes 622bdd962822 ("vpci/header: handle p2m range sets per BAR")
Signed-off-by Andrew Cooper <[email protected]>
---
CC: Roger Pau Monné <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: [email protected] <[email protected]>
CC: Roberto Bagnara <[email protected]>
CC: Federico Serafini <[email protected]>
CC: Nicola Vetrini <[email protected]>
--- xen/drivers/vpci/vpci.c | 2 -- 1 file changed, 2 deletions(-)
xen/drivers/vpci/vpci.c +0 -2
@@ -62,8 +62,6 @@ void vpci_deassign_device(struct pci_dev *pdev)spin_unlock (&pdev->vpci->lock);if ( pdev->vpci->msix ) { -unsigned int i; -list_del (&pdev->vpci->msix->next);for ( i =0 ; i <ARRAY_SIZE (pdev->vpci->msix->table); i++ )if ( pdev->vpci->msix->table[i] )
Signature · 1 line
2.30.2
Quoted 9 lines · Andrew Cooper
Resolves a MISRA R5.3 violation.
Fixes 622bdd962822 ("vpci/header: handle p2m range sets per BAR")Signed-off-by Andrew Cooper <[email protected]>---
Reviewed-by Luca Fancellu <[email protected]>
Quoted 4 lines · Andrew Cooper
Resolves a MISRA R5.3 violation.
Fixes 622bdd962822 ("vpci/header: handle p2m range sets per BAR")Signed-off-by Andrew Cooper <[email protected]>
Reviewed-by Stefano Stabellini <[email protected]>
Quoted 4 lines · Andrew Cooper
Resolves a MISRA R5.3 violation.
Fixes 622bdd962822 ("vpci/header: handle p2m range sets per BAR")Signed-off-by Andrew Cooper <[email protected]>
Acked-by Roger Pau Monné <[email protected]>
Thanks!