mirror of
https://github.com/qemu/qemu.git
synced 2024-11-28 06:13:46 +08:00
tricore: remove useless cast
This patch is the result of coccinelle script scripts/coccinelle/typecast.cocci CC: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
57ddd73e61
commit
416296a9d1
@ -46,7 +46,7 @@ static void tricore_load_kernel(CPUTriCoreState *env)
|
||||
long kernel_size;
|
||||
|
||||
kernel_size = load_elf(tricoretb_binfo.kernel_filename, NULL,
|
||||
NULL, (uint64_t *)&entry, NULL,
|
||||
NULL, &entry, NULL,
|
||||
NULL, 0,
|
||||
EM_TRICORE, 1, 0);
|
||||
if (kernel_size <= 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user