[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PATCH 3/7] s390x: remove useless cast
From: |
Laurent Vivier |
Subject: |
[Qemu-trivial] [PATCH 3/7] s390x: remove useless cast |
Date: |
Wed, 15 Jun 2016 18:14:33 +0200 |
This patch is the result of coccinelle script
scripts/coccinelle/typecast.cocci
CC: Cornelia Huck <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
---
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
- [Qemu-trivial] [PATCH 0/7] Remove useless casts, Laurent Vivier, 2016/06/15
- [Qemu-trivial] [PATCH 1/7] coccinelle: add a script to remove useless casts, Laurent Vivier, 2016/06/15
- [Qemu-trivial] [PATCH 3/7] s390x: remove useless cast,
Laurent Vivier <=
- [Qemu-trivial] [PATCH 2/7] linux-user,s390x: remove useless cast, Laurent Vivier, 2016/06/15
- [Qemu-trivial] [PATCH 4/7] tricore: remove useless cast, Laurent Vivier, 2016/06/15
- [Qemu-trivial] [PATCH 5/7] fw_cfg: remove useless casts, Laurent Vivier, 2016/06/15
- [Qemu-trivial] [PATCH 6/7] crypto: remove useless casts, Laurent Vivier, 2016/06/15
- [Qemu-trivial] [PATCH 7/7] sheepdog: remove useless casts, Laurent Vivier, 2016/06/15
- Re: [Qemu-trivial] [Qemu-devel] [PATCH 0/7] Remove useless casts, Laurent Vivier, 2016/06/23