On Tue, Jul 27, 2021 at 04:59:36PM +0200, Stefano Garzarella wrote: > Commit 0445409d74 ("iothread: generalize > iothread_set_param/iothread_get_param") moved common code to set and > get IOThread parameters in two new functions. > > These functions are called inside callbacks, so we don't need to use an > opaque pointer. Let's replace `void *opaque` parameter with > `IOThreadParamInfo *info`. > > Suggested-by: Kevin Wolf <kw...@redhat.com> > Signed-off-by: Stefano Garzarella <sgarz...@redhat.com> > --- > iothread.c | 18 ++++++++++-------- > 1 file changed, 10 insertions(+), 8 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature