From eac32e2232f949c0a1638acbef8f6ba0e4feeb67 Mon Sep 17 00:00:00 2001 From: Emanuele Giuseppe Esposito Date: Wed, 15 Dec 2021 07:11:40 -0500 Subject: include/sysemu/blockdev.h: remove drive_get_max_devs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove drive_get_max_devs, as it is not used by anyone. Last use was removed in commit 8f2d75e81d5 ("hw: Drop superfluous special checks for orphaned -drive"). Signed-off-by: Emanuele Giuseppe Esposito Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Stefan Hajnoczi Message-Id: <20211215121140.456939-4-eesposit@redhat.com> Signed-off-by: Kevin Wolf --- include/sysemu/blockdev.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/sysemu') diff --git a/include/sysemu/blockdev.h b/include/sysemu/blockdev.h index ea35c42f5c..f9fb54d437 100644 --- a/include/sysemu/blockdev.h +++ b/include/sysemu/blockdev.h @@ -48,7 +48,6 @@ DriveInfo *drive_get(BlockInterfaceType type, int bus, int unit); void drive_check_orphaned(void); DriveInfo *drive_get_by_index(BlockInterfaceType type, int index); int drive_get_max_bus(BlockInterfaceType type); -int drive_get_max_devs(BlockInterfaceType type); QemuOpts *drive_add(BlockInterfaceType type, int index, const char *file, const char *optstr); -- cgit v1.2.3