summary refs log tree commit diff stats
path: root/scripts/qapi-commands.py
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2011-07-20 13:14:12 +0530
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-04 16:43:09 -0500
commit182b9203f8f17198b1f818c23d80a2c698f29fa5 (patch)
treefcaa50ca2f97d9e8e678d6036813850317e5780d /scripts/qapi-commands.py
parentb80bc1ddb2e5838f8bc86f7cc8a45d16c8d8dcba (diff)
downloadfocaccia-qemu-182b9203f8f17198b1f818c23d80a2c698f29fa5.tar.gz
focaccia-qemu-182b9203f8f17198b1f818c23d80a2c698f29fa5.zip
balloon: Simplify code flow
Replace:
  if (foo) {
    ...
  } else {
    return 0;
  }

by

  if (!foo) {
    return 0;
  }
  ...

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions