monitor/hmp: inline add_init_drive
commit6700d3d685468ab5c45d6e768820ed752200c56e
authorMaxim Levitsky <mlevitsk@redhat.com>
Sun, 8 Mar 2020 09:24:31 +0000 (8 11:24 +0200)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 9 Mar 2020 18:05:30 +0000 (9 18:05 +0000)
tree28ba0c8beb45e85de420afc59fbb07ae56b9ccf8
parent1621eecebc7dd9e3bd4933a73f24fab23280cc40
monitor/hmp: inline add_init_drive

This function is only used by hmp_drive_add.
The code is just a bit shorter this way.

No functional changes

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20200308092440.23564-3-mlevitsk@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
device-hotplug.c