pci: don't call qdev pci init method
authorIsaku Yamahata <yamahata@valinux.co.jp>
Tue, 14 Jun 2011 22:37:47 +0000 (07:37 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 15 Jun 2011 15:32:08 +0000 (18:32 +0300)
commitc2afc92290f2b5a8eb6f7b75338815012f90a5c7
treed4788cd54660f3a53fd959416aa9248e8fe020b8
parentbefeac45d4d9afb587eca9a27d975db4a7950960
pci: don't call qdev pci init method

As pci id initialization is moved to common layer,
some initialization function can be empty.
So don't call init method if NULL.

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