balloon: Simplify code flow
commitf1ee0a0ebda763f39f8b8aa289fd771133c9971b
authorAmit Shah <amit.shah@redhat.com>
Wed, 20 Jul 2011 07:44:12 +0000 (20 13:14 +0530)
committerAmit Shah <amit.shah@redhat.com>
Tue, 26 Jul 2011 05:51:13 +0000 (26 11:21 +0530)
tree1eeae82b19bd7b10883244240fb2110ea4c2f4c6
parent3583bc031e56ae4ea90ca518dfe5322d36d44780
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>
balloon.c