From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mfcfq-0000vg-Fr for qemu-devel@nongnu.org; Mon, 24 Aug 2009 12:45:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mfcfj-0000ki-9p for qemu-devel@nongnu.org; Mon, 24 Aug 2009 12:45:35 -0400 Received: from [199.232.76.173] (port=33807 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mfcfi-0000kB-QY for qemu-devel@nongnu.org; Mon, 24 Aug 2009 12:45:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49779) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mfcfi-00033T-6P for qemu-devel@nongnu.org; Mon, 24 Aug 2009 12:45:30 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n7OGjTCn022386 for ; Mon, 24 Aug 2009 12:45:29 -0400 From: Juan Quintela Date: Mon, 24 Aug 2009 18:42:40 +0200 Message-Id: In-Reply-To: References: In-Reply-To: References: Subject: [Qemu-devel] [PATCH 06/26] rtl8139: remove pointless cast from void * List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Signed-off-by: Juan Quintela --- hw/rtl8139.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/rtl8139.c b/hw/rtl8139.c index a79b066..830ab88 100644 --- a/hw/rtl8139.c +++ b/hw/rtl8139.c @@ -3118,7 +3118,7 @@ static uint32_t rtl8139_mmio_readl(void *opaque, target_phys_addr_t addr) static void rtl8139_save(QEMUFile* f,void* opaque) { - RTL8139State* s=(RTL8139State*)opaque; + RTL8139State* s = opaque; unsigned int i; pci_device_save(&s->dev, f); @@ -3206,7 +3206,7 @@ static void rtl8139_save(QEMUFile* f,void* opaque) static int rtl8139_load(QEMUFile* f,void* opaque,int version_id) { - RTL8139State* s=(RTL8139State*)opaque; + RTL8139State* s = opaque; unsigned int i; int ret; -- 1.6.2.5