]> git.proxmox.com Git - mirror_qemu.git/commit - hw/pci.c
pci: clean up of pci_default_read_config.
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 30 Oct 2009 12:21:04 +0000 (21:21 +0900)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 9 Nov 2009 14:43:07 +0000 (08:43 -0600)
commit5029fe12dccbe261d5bd5bc840110ae48aa112c9
tree8d737f9433cbff89948b0a9f33386a8420dba666
parent0392a017ae9b44dd5c29bf7769a96fd6806a3551
pci: clean up of pci_default_read_config.

This patch cleans up pci_default_read_config() removing
ugly length and range check.

Suggested by "Michael S. Tsirkin" <mst@redhat.com>
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pci.c