Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nd1oS-0006vg-Ou for qemu-devel@nongnu.org; Thu, 04 Feb 2010 08:32:05 -0500 Received: from [199.232.76.173] (port=39988 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nd1oR-0006uq-C3 for qemu-devel@nongnu.org; Thu, 04 Feb 2010 08:32:03 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nd1oP-0007AE-Ox for qemu-devel@nongnu.org; Thu, 04 Feb 2010 08:32:03 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55606) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nd1oO-00079o-Up for qemu-devel@nongnu.org; Thu, 04 Feb 2010 08:32:01 -0500 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o14DVx6U015054 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 4 Feb 2010 08:32:00 -0500 Received: from localhost.localdomain (vpn1-5-172.ams2.redhat.com [10.36.5.172]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o14DVs37014783 for ; Thu, 4 Feb 2010 08:31:59 -0500 From: Paolo Bonzini Date: Thu, 4 Feb 2010 14:31:53 +0100 Message-Id: <1265290313-31738-6-git-send-email-pbonzini@redhat.com> In-Reply-To: <1265290313-31738-1-git-send-email-pbonzini@redhat.com> References: <1265290313-31738-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH v2 RESEND 5/5] usb-linux.c: remove write-only variable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Signed-off-by: Paolo Bonzini --- usb-linux.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/usb-linux.c b/usb-linux.c index 1aaa595..ba8facf 100644 --- a/usb-linux.c +++ b/usb-linux.c @@ -1007,11 +1007,9 @@ USBDevice *usb_host_device_open(const char *devname) { struct USBAutoFilter filter; USBDevice *dev; - USBHostDevice *s; char *p; dev = usb_create(NULL /* FIXME */, "usb-host"); - s = DO_UPCAST(USBHostDevice, dev, dev); if (strstr(devname, "auto:")) { if (parse_filter(devname, &filter) < 0) -- 1.6.6