|
From: | Hanna Reitz |
Subject: | Re: [PATCH 05/13] block: Inline bdrv_drain_invoke() |
Date: | Mon, 14 Nov 2022 19:19:36 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
On 08.11.22 13:37, Kevin Wolf wrote:
bdrv_drain_invoke() has now two entirely separate cases that share no code any more and are selected depending on a bool parameter. Each case has only one caller. Just inline the function. Signed-off-by: Kevin Wolf <kwolf@redhat.com> --- block/io.c | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-)
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
[Prev in Thread] | Current Thread | [Next in Thread] |