commit | fc1084aad72297cb6dbccf4c78473b5390ff6c87 | [log] [tgz] |
---|---|---|
author | Peter Crosthwaite <peter.crosthwaite@xilinx.com> | Wed Jun 18 18:36:03 2014 -0700 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Sat Jun 21 16:40:14 2014 +0800 |
tree | 430bf03ae1bcfbdf58fad4522d42be027165974c | |
parent | 427e1750a0b98a72cad424327604f51e993dcc5f [diff] |
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>