summaryrefslogtreecommitdiff
path: root/block.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2017-09-13 12:21:28 +0200
committerKevin Wolf <kwolf@redhat.com>2017-09-26 14:46:23 +0200
commit7a6ab45e19b615b9285b9cfa2bbc1fee012bc8d7 (patch)
tree8143eb1352f7934f7ed41c7052ce2035f9ade0bc /block.c
parent43a5dc02fd6070827d5c4ff652b885219fa8cbe1 (diff)
downloadqemu-7a6ab45e19b615b9285b9cfa2bbc1fee012bc8d7.tar.gz
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 'block.c')
0 files changed, 0 insertions, 0 deletions