summaryrefslogtreecommitdiffstats
path: root/include/block
diff options
context:
space:
mode:
authorThomas Huth2017-09-13 12:21:28 +0200
committerKevin Wolf2017-09-26 14:46:23 +0200
commit7a6ab45e19b615b9285b9cfa2bbc1fee012bc8d7 (patch)
tree8143eb1352f7934f7ed41c7052ce2035f9ade0bc /include/block
parentblock/throttle-groups.c: allocate RestartData on the heap (diff)
downloadqemu-7a6ab45e19b615b9285b9cfa2bbc1fee012bc8d7.tar.gz
qemu-7a6ab45e19b615b9285b9cfa2bbc1fee012bc8d7.tar.xz
qemu-7a6ab45e19b615b9285b9cfa2bbc1fee012bc8d7.zip
block: Clean up some bad code in the vvfat driver
Remove the unnecessary home-grown redefinition of the assert() macro here, and remove the unusable debug code at the end of the checkpoint() function. The code there uses assert() with side-effects (assignment to the "mapping" variable), which should be avoided. Looking more closely, it seems as it is apparently also only usable for one certain directory layout (with a file named USB.H in it) and thus is of no use for the rest of the world. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block')
0 files changed, 0 insertions, 0 deletions