Received: from eggs.gnu.org ([2001:4830:134:3::10]:44641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAkQv-0004Ox-7C for qemu-devel@nongnu.org; Wed, 08 Jun 2016 16:50:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAkQr-0002VK-14 for qemu-devel@nongnu.org; Wed, 08 Jun 2016 16:50:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51489) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAkQq-0002VE-MN for qemu-devel@nongnu.org; Wed, 08 Jun 2016 16:50:32 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3FE64C05681C for ; Wed, 8 Jun 2016 20:50:32 +0000 (UTC) From: Eduardo Habkost Date: Wed, 8 Jun 2016 17:50:23 -0300 Message-Id: <1465419025-21519-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/2] Eliminate usb_enabled() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Marcel Apfelbaum usb_enabled() is just a wrapper for machine_usb(current_machine) and is not necessary, replace all usages of usb_enabled() with machine_usb(). In the case of pxa2xx, just remove usb_enabled() usage completely. Eduardo Habkost (2): pxa2xx: Unconditionally enable USB controller vl: Eliminate usb_enabled() hw/arm/nseries.c | 2 +- hw/arm/pxa2xx.c | 12 ++++-------- hw/arm/realview.c | 2 +- hw/arm/versatilepb.c | 2 +- hw/i386/pc_piix.c | 2 +- hw/i386/pc_q35.c | 2 +- hw/ppc/mac_oldworld.c | 2 +- hw/ppc/prep.c | 2 +- include/sysemu/sysemu.h | 1 - vl.c | 11 +++-------- 10 files changed, 14 insertions(+), 24 deletions(-) -- 2.5.5