hw/block/virtio-blk: Replaces request free function with g_free
authorPhil Dennis-Jordan <phil@philjordan.eu>
Thu, 24 Oct 2024 10:28:12 +0000 (12:28 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 31 Dec 2024 20:21:34 +0000 (21:21 +0100)
commit12ed6aca7ca328a12e235f4daa9824873da60315
tree50b4e42ca7caf0f550dbf991fcda4226f57c59c7
parent8c6619f3e692c5173c9f4919dbf99fb14dc0b7e9
hw/block/virtio-blk: Replaces request free function with g_free

The virtio_blk_free_request() function has been a 1-liner forwarding
to g_free() for a while now. We may as well call g_free on the request
pointer directly.

Signed-off-by: Phil Dennis-Jordan <phil@philjordan.eu>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Tested-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-ID: <20241223221645.29911-14-phil@philjordan.eu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/block/virtio-blk.c