From: Laurent Vivier Date: Wed, 15 Jun 2016 16:14:33 +0000 (+0200) Subject: s390x: remove useless cast X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=57ddd73e611bf547c4a28356df7b3c6ff43afb0c;p=qemu.git s390x: remove useless cast This patch is the result of coccinelle script scripts/coccinelle/typecast.cocci CC: Cornelia Huck Signed-off-by: Laurent Vivier Signed-off-by: Michael Tokarev --- diff --git a/hw/s390x/sclp.c b/hw/s390x/sclp.c index 48e38b2bbe..e741da1141 100644 --- a/hw/s390x/sclp.c +++ b/hw/s390x/sclp.c @@ -426,7 +426,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));