pci: remove magic number, 256 in pci.c
authorIsaku Yamahata <yamahata@valinux.co.jp>
Thu, 12 Nov 2009 05:58:45 +0000 (14:58 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 1 Dec 2009 15:52:39 +0000 (17:52 +0200)
commit1f2521502159b570346ebef599ff2108fa8ebcfd
treeba0981678cc913b7bad8b2c8d0b0e286e8663071
parentf0243a975504d0fc6487f8e71544ff3390ce6fa4
pci: remove magic number, 256 in pci.c

This patch replaces magic number, 256, with ARRAY_SIZE().

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