blockdev: Belatedly remove MAX_DRIVES

Unused since commit 751c6a17.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
Markus Armbruster 2010-05-28 15:38:42 +02:00 committed by Kevin Wolf
parent 0923c577f9
commit 1a43782e34
2 changed files with 0 additions and 3 deletions

View File

@ -176,7 +176,6 @@ typedef struct DriveInfo {
#define MAX_IDE_DEVS 2 #define MAX_IDE_DEVS 2
#define MAX_SCSI_DEVS 7 #define MAX_SCSI_DEVS 7
#define MAX_DRIVES 32
extern QTAILQ_HEAD(drivelist, DriveInfo) drives; extern QTAILQ_HEAD(drivelist, DriveInfo) drives;
extern QTAILQ_HEAD(driveoptlist, DriveOpt) driveopts; extern QTAILQ_HEAD(driveoptlist, DriveOpt) driveopts;

2
vl.c
View File

@ -172,8 +172,6 @@ int main(int argc, char **argv)
static const char *data_dir; static const char *data_dir;
const char *bios_name = NULL; 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 drivelist drives = QTAILQ_HEAD_INITIALIZER(drives);
struct driveoptlist driveopts = QTAILQ_HEAD_INITIALIZER(driveopts); struct driveoptlist driveopts = QTAILQ_HEAD_INITIALIZER(driveopts);
enum vga_retrace_method vga_retrace_method = VGA_RETRACE_DUMB; enum vga_retrace_method vga_retrace_method = VGA_RETRACE_DUMB;