From 8a2b516ba2855c4530388051de2b8d17bc780ea8 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Mon, 7 Apr 2025 10:26:42 +0200 Subject: 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 Reviewed-by: Richard Henderson Message-ID: <20250407082643.2310002-3-armbru@redhat.com> [Straightforward conflict with commit 988ad4ccebb6 (hw/loongarch/virt: Fix cpuslot::cpu set at last in virt_cpu_plug()) resolved] --- hw/misc/i2c-echo.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'hw/misc/i2c-echo.c') diff --git a/hw/misc/i2c-echo.c b/hw/misc/i2c-echo.c index 65d1002..fcd407d 100644 --- a/hw/misc/i2c-echo.c +++ b/hw/misc/i2c-echo.c @@ -143,8 +143,6 @@ static void i2c_echo_realize(DeviceState *dev, Error **errp) state->bus = I2C_BUS(bus); state->bh = qemu_bh_new(i2c_echo_bh, state); - - return; } static void i2c_echo_class_init(ObjectClass *oc, void *data) -- cgit v1.1