pio_bitmap already is set to the cell's pio bitmap. No need to repeat the
assignment.

Signed-off-by: Ralf Ramsauer <[email protected]>
---
 hypervisor/arch/x86/vcpu.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hypervisor/arch/x86/vcpu.c b/hypervisor/arch/x86/vcpu.c
index 81ff8772..8588d399 100644
--- a/hypervisor/arch/x86/vcpu.c
+++ b/hypervisor/arch/x86/vcpu.c
@@ -123,7 +123,6 @@ int vcpu_cell_init(struct cell *cell)
                 * access rights.
                 */
                vcpu_get_cell_io_bitmap(&root_cell, &root_cell_iobm);
-               pio_bitmap = jailhouse_cell_pio_bitmap(cell->config);
                for (b = root_cell_iobm.data; pio_bitmap_size > 0;
                     b++, pio_bitmap++, pio_bitmap_size--)
                        *b |= ~*pio_bitmap;
-- 
2.22.0

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/20190713181037.4358-8-ralf.ramsauer%40oth-regensburg.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to