diff options
| author | Vladimir Sementsov-Ogievskiy | 2021-06-01 09:52:17 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2021-06-02 14:23:20 +0200 |
| commit | da261b69aee9acb46ac1b0ebfe0ccb7b74450a88 (patch) | |
| tree | eab32ff1ce79715907010af7e560fbb0d066fea0 /include | |
| parent | block/vvfat: inherit child_vvfat_qcow from child_of_bds (diff) | |
| download | qemu-da261b69aee9acb46ac1b0ebfe0ccb7b74450a88.tar.gz qemu-da261b69aee9acb46ac1b0ebfe0ccb7b74450a88.tar.xz qemu-da261b69aee9acb46ac1b0ebfe0ccb7b74450a88.zip | |
block: simplify bdrv_child_user_desc()
All child classes have this callback. So, drop unreachable code.
Still add an assertion to bdrv_attach_child_common(), to early detect
bad classes.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20210601075218.79249-6-vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
