mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
block: Drop bdrv_new_root()
It is unused now, so we may just as well drop it. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Alberto Garcia <berto@igalia.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
28eb9b12f7
commit
9bddf75979
2 changed files with 0 additions and 6 deletions
5
block.c
5
block.c
|
@ -220,11 +220,6 @@ void bdrv_register(BlockDriver *bdrv)
|
|||
QLIST_INSERT_HEAD(&bdrv_drivers, bdrv, list);
|
||||
}
|
||||
|
||||
BlockDriverState *bdrv_new_root(void)
|
||||
{
|
||||
return bdrv_new();
|
||||
}
|
||||
|
||||
BlockDriverState *bdrv_new(void)
|
||||
{
|
||||
BlockDriverState *bs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue