vfio/type1: Fix build warning
authorAlex Williamson <alex.williamson@redhat.com>
Mon, 30 May 2016 13:58:10 +0000 (07:58 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 30 May 2016 13:58:10 +0000 (07:58 -0600)
commit089f1c6b2daeab750fd92a28529928bc13c95d97
tree830e69438b06d0b141c0acc9973317d743b5129b
parent956b56a984ddf10aa69b25318dc04430101beed6
vfio/type1: Fix build warning

This function cannot actually be called with npage = 0, so in practice
this doesn't return an uninitialized value.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio_iommu_type1.c