diff options
author | Laurent Vivier | 2016-06-15 18:14:33 +0200 |
---|---|---|
committer | Michael Tokarev | 2016-09-15 14:32:22 +0200 |
commit | 57ddd73e611bf547c4a28356df7b3c6ff43afb0c (patch) | |
tree | 2fd0416c3c9efcf3e2cdfe83cc59d11cd31b0509 /hw/s390x/sclp.c | |
parent | linux-user,s390x: remove useless cast (diff) | |
download | qemu-57ddd73e611bf547c4a28356df7b3c6ff43afb0c.tar.gz qemu-57ddd73e611bf547c4a28356df7b3c6ff43afb0c.tar.xz qemu-57ddd73e611bf547c4a28356df7b3c6ff43afb0c.zip |
s390x: remove useless cast
This patch is the result of coccinelle script
scripts/coccinelle/typecast.cocci
CC: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/s390x/sclp.c')
-rw-r--r-- | hw/s390x/sclp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |