aboutsummaryrefslogtreecommitdiff
path: root/qemu-bridge-helper.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2021-02-16 11:46:52 +0800
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-02-20 00:19:13 +0100
commit8bc1f1aa51d32c3184e7b19d5b94c35ecc06f056 (patch)
treed8197ddc8a7f958faafb424b2947abe37f0e93d6 /qemu-bridge-helper.c
parentc557e08d9c9729cdf6b98f7a9c1ebf72fa25e916 (diff)
hw/sd: sdhci: Simplify updating s->prnsts in sdhci_sdma_transfer_multi_blocks()
s->prnsts is updated in both branches of the if () else () statement. Move the common bits outside so that it is cleaner. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Alexander Bulekov <alxndr@bu.edu> Reviewed-by: Alexander Bulekov <alxndr@bu.edu> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <1613447214-81951-5-git-send-email-bmeng.cn@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'qemu-bridge-helper.c')
0 files changed, 0 insertions, 0 deletions