vl: Eliminate usb_enabled()
commit4bcbe0b63661b1df8e78d58270574d818b387d2c
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 8 Jun 2016 20:50:25 +0000 (8 17:50 -0300)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 13 Jun 2016 11:24:41 +0000 (13 13:24 +0200)
treed99ede42b1c14764f6bbe2b3c0ddb8664e847e63
parentc92cfba822245c42fec611f310ed74c1821be3d2
vl: Eliminate usb_enabled()

This wrapper for machine_usb(current_machine) is not necessary,
replace all usages of usb_enabled() with machine_usb().

Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Alexander Graf <agraf@suse.de>
Cc: qemu-arm@nongnu.org
Cc: qemu-ppc@nongnu.org
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 1465419025-21519-3-git-send-email-ehabkost@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/arm/nseries.c
hw/arm/realview.c
hw/arm/versatilepb.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
hw/ppc/mac_oldworld.c
hw/ppc/prep.c
include/sysemu/sysemu.h
vl.c