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>
master
Laurent Vivier 2016-06-15 18:14:33 +02:00 committed by Michael Tokarev
parent c1bc91c35c
commit 57ddd73e61
1 changed files with 1 additions and 1 deletions

View File

@ -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));