diff options
| author | Markus Armbruster <armbru@redhat.com> | 2010-05-31 16:19:43 +0200 |
|---|---|---|
| committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-06-30 20:38:58 +0200 |
| commit | f83ccb3eab5926b5ed37db7e94e0f22ec8754003 (patch) | |
| tree | 86239c5cc2eac18cb2e8ac203ff043e67e82b52a /hw/omap_gpio.c | |
| parent | 81bf96d3d299a7f88bf3e2ece4f795a9949db5f7 (diff) | |
| download | focaccia-qemu-f83ccb3eab5926b5ed37db7e94e0f22ec8754003.tar.gz focaccia-qemu-f83ccb3eab5926b5ed37db7e94e0f22ec8754003.zip | |
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 <armbru@redhat.com> Acked-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/omap_gpio.c')
0 files changed, 0 insertions, 0 deletions