diff options
| author | Philippe Mathieu-Daudé | 2020-03-05 18:56:47 +0100 |
|---|---|---|
| committer | Jason Wang | 2020-03-31 15:14:35 +0200 |
| commit | 2fa3d2d401b95036294361da52e4f3cd0f98155e (patch) | |
| tree | 44e6661b5e2149d96e9e2bde3f8f9e14ebf37632 /include | |
| parent | hw/net/smc91c111: Let smc91c111_can_receive() return a boolean (diff) | |
| download | qemu-2fa3d2d401b95036294361da52e4f3cd0f98155e.tar.gz qemu-2fa3d2d401b95036294361da52e4f3cd0f98155e.tar.xz qemu-2fa3d2d401b95036294361da52e4f3cd0f98155e.zip | |
hw/net/rtl8139: Simplify if/else statement
Rewrite:
if (E) {
return A;
} else {
return B;
}
/* EOF */
}
as:
if (E) {
return A;
}
return B;
}
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
