net: remove the @errp argument of net_client_inits()
authorLaurent Vivier <lvivier@redhat.com>
Fri, 21 Oct 2022 09:09:07 +0000 (11:09 +0200)
committerJason Wang <jasowang@redhat.com>
Fri, 28 Oct 2022 05:28:52 +0000 (13:28 +0800)
commitd63ef17bfcba1126df6bfcb7bca64c96ac4a8d99
tree5e84e81b619740690bc691f76daa7caa34859070
parent30e4226b78f888a75dade5a2cf1488f94da3a8db
net: remove the @errp argument of net_client_inits()

The only caller passes &error_fatal, so use this directly in the function.

It's what we do for -blockdev, -device, and -object.

Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
include/net/net.h
net/net.c
softmmu/vl.c