summaryrefslogtreecommitdiffstats
path: root/numa.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2016-03-17 16:48:35 -0600
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:49:38 -0600
commitc3f93819a8f988633c2ec1177c28a1f75a7d448d (patch)
tree46a88da4bd0c3f76fbb495ecdd2b76a58da11fa1 /numa.c
parentbff19134f7bee61ecf5012e2e1a1192894ef219f (diff)
downloadhqemu-c3f93819a8f988633c2ec1177c28a1f75a7d448d.zip
hqemu-c3f93819a8f988633c2ec1177c28a1f75a7d448d.tar.gz
qapi: Inline gen_visit_members() into lone caller
Commit 82ca8e46 noticed that we had multiple implementations of visiting every member of a struct, and consolidated it into gen_visit_fields() (now gen_visit_members()) with enough parameters to cater to slight differences between the clients. But recent exposure of implicit types has meant that we are now down to a single use of that method, so we can clean up the unused conditionals and just inline it into the remaining caller: gen_visit_object_members(). Likewise, gen_err_check() no longer needs optional parameters, as the lone use of non-defaults was via gen_visit_members(). No change to generated code. Suggested-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1458254921-17042-11-git-send-email-eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'numa.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud