mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
cleanup: Drop pointless return at end of function
A few functions now end with a label. The next commit will clean them
up.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20250407082643.2310002-3-armbru@redhat.com>
[Straightforward conflict with commit 988ad4cceb
(hw/loongarch/virt:
Fix cpuslot::cpu set at last in virt_cpu_plug()) resolved]
This commit is contained in:
parent
720a0e417e
commit
8a2b516ba2
113 changed files with 0 additions and 196 deletions
|
@ -800,7 +800,6 @@ static void aspeed_gpio_write_index_mode(void *opaque, hwaddr offset,
|
|||
return;
|
||||
}
|
||||
aspeed_gpio_update(s, set, set->data_value, UINT32_MAX);
|
||||
return;
|
||||
}
|
||||
|
||||
static void aspeed_gpio_write(void *opaque, hwaddr offset, uint64_t data,
|
||||
|
@ -928,7 +927,6 @@ static void aspeed_gpio_write(void *opaque, hwaddr offset, uint64_t data,
|
|||
return;
|
||||
}
|
||||
aspeed_gpio_update(s, set, set->data_value, UINT32_MAX);
|
||||
return;
|
||||
}
|
||||
|
||||
static int get_set_idx(AspeedGPIOState *s, const char *group, int *group_idx)
|
||||
|
@ -1183,7 +1181,6 @@ static void aspeed_gpio_2700_write_control_reg(AspeedGPIOState *s,
|
|||
}
|
||||
|
||||
aspeed_gpio_update(s, set, set->data_value, UINT32_MAX);
|
||||
return;
|
||||
}
|
||||
|
||||
static uint64_t aspeed_gpio_2700_read(void *opaque, hwaddr offset,
|
||||
|
@ -1308,8 +1305,6 @@ static void aspeed_gpio_2700_write(void *opaque, hwaddr offset,
|
|||
PRIx64"\n", __func__, offset);
|
||||
break;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/* Setup functions */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue