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:
parent
0923c577f9
commit
1a43782e34
1
sysemu.h
1
sysemu.h
@ -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
2
vl.c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user