mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
Remove unnecessary variables for function return value
Re-run Coccinelle script scripts/coccinelle/return_directly.cocci Signed-off-by: Laurent Vivier <lvivier@redhat.com> ppc part Acked-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
f23c81073a
commit
4a4ff4c58f
20 changed files with 79 additions and 248 deletions
|
@ -156,12 +156,8 @@ void exynos4210_write_secondary(ARMCPU *cpu,
|
|||
|
||||
static uint64_t exynos4210_calc_affinity(int cpu)
|
||||
{
|
||||
uint64_t mp_affinity;
|
||||
|
||||
/* Exynos4210 has 0x9 as cluster ID */
|
||||
mp_affinity = (0x9 << ARM_AFF1_SHIFT) | cpu;
|
||||
|
||||
return mp_affinity;
|
||||
return (0x9 << ARM_AFF1_SHIFT) | cpu;
|
||||
}
|
||||
|
||||
Exynos4210State *exynos4210_init(MemoryRegion *system_mem)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue