aboutsummaryrefslogtreecommitdiff
path: root/hw/loader.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/loader.c')
-rw-r--r--hw/loader.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/loader.c b/hw/loader.c
index b3bbd77d1e..1448887e5e 100644
--- a/hw/loader.c
+++ b/hw/loader.c
@@ -537,7 +537,6 @@ struct Rom {
static FWCfgState *fw_cfg;
static QTAILQ_HEAD(, Rom) roms = QTAILQ_HEAD_INITIALIZER(roms);
-int rom_enable_driver_roms;
static void rom_insert(Rom *rom)
{
@@ -624,15 +623,11 @@ int rom_add_blob(const char *name, const void *blob, size_t len,
int rom_add_vga(const char *file)
{
- if (!rom_enable_driver_roms)
- return 0;
return rom_add_file(file, "vgaroms", 0);
}
int rom_add_option(const char *file)
{
- if (!rom_enable_driver_roms)
- return 0;
return rom_add_file(file, "genroms", 0);
}