Received: from eggs.gnu.org ([2001:4830:134:3::10]:33562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDDTN-0005hU-VE for qemu-devel@nongnu.org; Wed, 15 Jun 2016 12:15:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDDTM-0003ob-UZ for qemu-devel@nongnu.org; Wed, 15 Jun 2016 12:15:21 -0400 From: Laurent Vivier Date: Wed, 15 Jun 2016 18:14:33 +0200 Message-Id: <1466007277-17525-4-git-send-email-lvivier@redhat.com> In-Reply-To: <1466007277-17525-1-git-send-email-lvivier@redhat.com> References: <1466007277-17525-1-git-send-email-lvivier@redhat.com> Subject: [Qemu-devel] [PATCH 3/7] s390x: remove useless cast List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-trivial@nongnu.org, qemu-devel@nongnu.org Cc: Laurent Vivier , Cornelia Huck This patch is the result of coccinelle script scripts/coccinelle/typecast.cocci CC: Cornelia Huck Signed-off-by: Laurent Vivier --- hw/s390x/sclp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/s390x/sclp.c b/hw/s390x/sclp.c index fca37f5..feeb0da 100644 --- a/hw/s390x/sclp.c +++ b/hw/s390x/sclp.c @@ -406,7 +406,7 @@ int sclp_service_call(CPUS390XState *env, uint64_t sccb, uint32_t code) goto out; } - sclp_c->execute(sclp, (SCCB *)&work_sccb, code); + sclp_c->execute(sclp, &work_sccb, code); cpu_physical_memory_write(sccb, &work_sccb, be16_to_cpu(work_sccb.h.length)); -- 2.5.5