On Tue, Oct 12, 2021 at 04:48:54AM -0400, Emanuele Giuseppe Esposito wrote: > drive_add is only used in softmmu/vl.c, so it can be a static > function there, and drive_def is only a particular use case of > qemu_opts_parse_noisily, so it can be inlined. > > Also remove drive_mark_claimed_by_board, as it is only defined > but not implemented (nor used) anywhere. > > This also helps simplifying next patch. > > Signed-off-by: Emanuele Giuseppe Esposito > --- > block/monitor/block-hmp-cmds.c | 2 +- > blockdev.c | 27 +-------------------------- > include/sysemu/blockdev.h | 6 ++---- > softmmu/vl.c | 25 ++++++++++++++++++++++++- > 4 files changed, 28 insertions(+), 32 deletions(-) Reviewed-by: Stefan Hajnoczi