]> Git Repo - qemu.git/commit
isa: Tidy support code for isabus_get_fw_dev_path
authorRichard Henderson <[email protected]>
Mon, 15 Aug 2011 18:59:09 +0000 (11:59 -0700)
committerAvi Kivity <[email protected]>
Mon, 10 Oct 2011 13:29:28 +0000 (15:29 +0200)
commitebf47c24b01857d8b49a892b853bdd13b8e3eb5e
treeb1e2b8738c3e5076fddaaae5d1d1ae5c7ac86c14
parentfebbd7c29a726f8e249aa421b429b3a575d70f38
isa: Tidy support code for isabus_get_fw_dev_path

The only user of ISADevice.ioports is isabus_get_fw_dev_path, and it
only looks at the first entry of the array.  Which suggests that this
entire array+sort operation can be replaced by a simple minimum.

Signed-off-by: Richard Henderson <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
hw/isa-bus.c
hw/isa.h
This page took 0.026066 seconds and 4 git commands to generate.