aboutsummaryrefslogtreecommitdiff
path: root/xen-hvm.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2016-03-03 09:16:47 -0700
committerMarkus Armbruster <armbru@redhat.com>2016-03-05 10:41:47 +0100
commitf194a1ae530e232b994d23aa8651696dd6664b5d (patch)
treea74f216de654633e1409a491eb264ab1795f1928 /xen-hvm.c
parent9ee86b852673fd9ec807b1ff3c3a1337351dac0a (diff)
chardev: Shorten references into ChardevBackend
An upcoming patch will alter how simple unions, like ChardevBackend, are laid out, which will impact all lines of the form 'backend->u.XXX' (expanding it to the longer 'backend->u.XXX.data'). For better legibility in that patch, and less need for line wrapping, it's better to use a temporary variable to reduce the effect of a layout change to just the variable initializations, rather than every reference within a ChardevBackend. It doesn't hurt that this also makes the code more consistent: some clients touched here already had a temporary variable but weren't using it. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-By: Daniel P. Berrange <berrange@redhat.com> Message-Id: <1457021813-10704-6-git-send-email-eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'xen-hvm.c')
0 files changed, 0 insertions, 0 deletions