diff options
| author | Thomas Huth <thuth@redhat.com> | 2017-09-13 12:21:28 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2017-09-26 14:46:23 +0200 |
| commit | 7a6ab45e19b615b9285b9cfa2bbc1fee012bc8d7 (patch) | |
| tree | 8143eb1352f7934f7ed41c7052ce2035f9ade0bc /qemu-io-cmds.c | |
| parent | 43a5dc02fd6070827d5c4ff652b885219fa8cbe1 (diff) | |
| download | focaccia-qemu-7a6ab45e19b615b9285b9cfa2bbc1fee012bc8d7.tar.gz focaccia-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 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions