mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-14 07:20:42 +00:00
block: Remove dead code
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
3789985f40
commit
3574c60819
4
block.c
4
block.c
@ -2028,11 +2028,7 @@ const char *bdrv_get_encrypted_filename(BlockDriverState *bs)
|
||||
void bdrv_get_backing_filename(BlockDriverState *bs,
|
||||
char *filename, int filename_size)
|
||||
{
|
||||
if (!bs->backing_file) {
|
||||
pstrcpy(filename, filename_size, "");
|
||||
} else {
|
||||
pstrcpy(filename, filename_size, bs->backing_file);
|
||||
}
|
||||
}
|
||||
|
||||
int bdrv_write_compressed(BlockDriverState *bs, int64_t sector_num,
|
||||
|
Loading…
Reference in New Issue
Block a user