aboutsummaryrefslogtreecommitdiff
path: root/pc-bios/spapr-rtas.bin
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2017-12-01 17:24:27 -0600
committerPaolo Bonzini <pbonzini@redhat.com>2018-01-16 14:54:51 +0100
commit1b4c0a0436f8741ad19e03a5822d1c546dfceecc (patch)
tree710fc429e74d4a7ceb82af5fbc2ff93bb69e9be8 /pc-bios/spapr-rtas.bin
parent01960e6d21dcfbfc8a03d8fd6284c448cf75865b (diff)
net: Drop unusual use of do { } while (0);
For a couple of macros in pcnet.c, we have to provide a new scope to avoid compiler warnings about declarations in the middle of a switch statement that aren't in a sub-scope. But use of 'do { ... } while (0);' merely to provide that new scope is arcane overkill, compared to just using '{ ... }'. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20171201232433.25193-2-eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'pc-bios/spapr-rtas.bin')
0 files changed, 0 insertions, 0 deletions