summaryrefslogtreecommitdiffstats
path: root/hw/omap1.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-05-31 16:19:43 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-06-30 20:38:58 +0200
commitf83ccb3eab5926b5ed37db7e94e0f22ec8754003 (patch)
tree86239c5cc2eac18cb2e8ac203ff043e67e82b52a /hw/omap1.c
parent81bf96d3d299a7f88bf3e2ece4f795a9949db5f7 (diff)
downloadhqemu-f83ccb3eab5926b5ed37db7e94e0f22ec8754003.zip
hqemu-f83ccb3eab5926b5ed37db7e94e0f22ec8754003.tar.gz
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/omap1.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud