[SLOF] [PATCH v4 14/23] virtio: get rid of type variable in virtio_device

Thomas Huth thuth at redhat.com
Fri Jan 29 04:03:33 AEDT 2016


On 28.01.2016 11:24, Nikunj A Dadhania wrote:
> virtio device structure carries a type variable indicating whether
> virtio is over PCI or VIO. While VIO is not there and no plan to
> introduce other transport, there is no purpose of having this variable
> around and checking for PCI.
> 
> Signed-off-by: Nikunj A Dadhania <nikunj at linux.vnet.ibm.com>
> ---
>  board-qemu/slof/virtio.fs  | 16 +++---------
>  lib/libvirtio/virtio-net.c |  1 -
>  lib/libvirtio/virtio.c     | 64 +++++++++++++++-------------------------------
>  lib/libvirtio/virtio.h     |  2 --
>  4 files changed, 25 insertions(+), 58 deletions(-)

Reviewed-by: Thomas Huth <thuth at redhat.com>



More information about the SLOF mailing list