diff options
| author | Peter Crosthwaite | 2014-06-19 03:36:03 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2014-06-21 10:40:14 +0200 |
| commit | fc1084aad72297cb6dbccf4c78473b5390ff6c87 (patch) | |
| tree | 430bf03ae1bcfbdf58fad4522d42be027165974c /scripts/switch-timer-api | |
| parent | gt64xxx_pci: Add VMStateDescription (diff) | |
| download | qemu-fc1084aad72297cb6dbccf4c78473b5390ff6c87.tar.gz qemu-fc1084aad72297cb6dbccf4c78473b5390ff6c87.tar.xz qemu-fc1084aad72297cb6dbccf4c78473b5390ff6c87.zip | |
block: m25p80: sync_page(): Deindent function body.
sync_page() was conditionalizing it's whole fn body on the bdrv being
non-null. Just return for the function immediately on NULL brdv and
get rid of the big if.
Makes implementation consistent with flash_zynq_area().
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
