From a223eeb607ca2ef8a6e77d555c56e66957ae2e94 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Fri, 28 May 2010 15:38:42 +0200 Subject: [PATCH] blockdev: Belatedly remove MAX_DRIVES Unused since commit 751c6a17. Signed-off-by: Markus Armbruster Signed-off-by: Kevin Wolf --- sysemu.h | 1 - vl.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/sysemu.h b/sysemu.h index 879446ab9e..063319c8f5 100644 --- a/sysemu.h +++ b/sysemu.h @@ -176,7 +176,6 @@ typedef struct DriveInfo { #define MAX_IDE_DEVS 2 #define MAX_SCSI_DEVS 7 -#define MAX_DRIVES 32 extern QTAILQ_HEAD(drivelist, DriveInfo) drives; extern QTAILQ_HEAD(driveoptlist, DriveOpt) driveopts; diff --git a/vl.c b/vl.c index 7121cd0264..f8d3034ec8 100644 --- a/vl.c +++ b/vl.c @@ -172,8 +172,6 @@ int main(int argc, char **argv) static const char *data_dir; const char *bios_name = NULL; -/* Note: drives_table[MAX_DRIVES] is a dummy block driver if none available - to store the VM snapshots */ struct drivelist drives = QTAILQ_HEAD_INITIALIZER(drives); struct driveoptlist driveopts = QTAILQ_HEAD_INITIALIZER(driveopts); enum vga_retrace_method vga_retrace_method = VGA_RETRACE_DUMB; -- 2.34.1