mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-31 22:11:53 -06:00
block: Remove dead code
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
3789985f40
commit
3574c60819
1 changed files with 1 additions and 5 deletions
4
block.c
4
block.c
|
@ -2028,12 +2028,8 @@ const char *bdrv_get_encrypted_filename(BlockDriverState *bs)
|
||||||
void bdrv_get_backing_filename(BlockDriverState *bs,
|
void bdrv_get_backing_filename(BlockDriverState *bs,
|
||||||
char *filename, int filename_size)
|
char *filename, int filename_size)
|
||||||
{
|
{
|
||||||
if (!bs->backing_file) {
|
|
||||||
pstrcpy(filename, filename_size, "");
|
|
||||||
} else {
|
|
||||||
pstrcpy(filename, filename_size, bs->backing_file);
|
pstrcpy(filename, filename_size, bs->backing_file);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
int bdrv_write_compressed(BlockDriverState *bs, int64_t sector_num,
|
int bdrv_write_compressed(BlockDriverState *bs, int64_t sector_num,
|
||||||
const uint8_t *buf, int nb_sectors)
|
const uint8_t *buf, int nb_sectors)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue