Searched hist:da261b69aee9acb46ac1b0ebfe0ccb7b74450a88 (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/ |
H A D | block.c | diff da261b69aee9acb46ac1b0ebfe0ccb7b74450a88 Tue Jun 01 02:52:17 CDT 2021 Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> 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>
|