block: Drop blk_new_with_bs()
authorMax Reitz <mreitz@redhat.com>
Tue, 17 May 2016 14:41:29 +0000 (16:41 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 25 May 2016 17:04:10 +0000 (19:04 +0200)
commit28eb9b12f7280287c7b693edd351f28ae0d99e60
treefb5ab69b33871d2c72ddb7575fee6eacc2bdd872
parent21a699afc8f6dc72e70d03efdcc2eab3f4608d65
block: Drop blk_new_with_bs()

Its only caller is blk_new_open(), so we can just inline it there.

The bdrv_new_root() call is dropped in the process because we can just
let bdrv_open() create the BDS.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/block-backend.c
include/sysemu/block-backend.h