summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorPeter Crosthwaite2014-06-19 03:36:03 +0200
committerStefan Hajnoczi2014-06-21 10:40:14 +0200
commitfc1084aad72297cb6dbccf4c78473b5390ff6c87 (patch)
tree430bf03ae1bcfbdf58fad4522d42be027165974c /scripts/switch-timer-api
parentgt64xxx_pci: Add VMStateDescription (diff)
downloadqemu-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