pci: convert goto into scope in bridge_filter
commit88a9556430df57cbe7666e4e4cf78c3bd3bc8220
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 12 Nov 2009 11:54:31 +0000 (12 13:54 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 1 Dec 2009 15:52:51 +0000 (1 17:52 +0200)
tree45146584d748f54d76fed58830ac226a606cc5ee
parentd46636b88339ecc2cb8d10113f45ada164817773
pci: convert goto into scope in bridge_filter

goto into scope is evil. rearrange pci_bridge_filter
so that we always go to end of function on error.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Isaku Yamahata <yamahata@valinux.co.jp>
hw/pci.c