]> Git Repo - qemu.git/commit
virtio-serial: Simplify virtio_serial_load()
authorMarkus Armbruster <[email protected]>
Mon, 31 May 2010 14:19:43 +0000 (16:19 +0200)
committerAurelien Jarno <[email protected]>
Wed, 30 Jun 2010 18:38:58 +0000 (20:38 +0200)
commitf83ccb3eab5926b5ed37db7e94e0f22ec8754003
tree86239c5cc2eac18cb2e8ac203ff043e67e82b52a
parent81bf96d3d299a7f88bf3e2ece4f795a9949db5f7
virtio-serial: Simplify virtio_serial_load()

For all i, ports_map[i] is used in and only in the i-th iteration.
Replace the dynamic array by a scalar variable.

Signed-off-by: Markus Armbruster <[email protected]>
Acked-by: Amit Shah <[email protected]>
Signed-off-by: Aurelien Jarno <[email protected]>
hw/virtio-serial-bus.c
This page took 0.034761 seconds and 4 git commands to generate.