]> git.proxmox.com Git - qemu.git/commitdiff
exec: Remove unused global variable phys_ram_fd
authorStefan Weil <sw@weilnetz.de>
Fri, 5 Jul 2013 17:07:16 +0000 (19:07 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 9 Jul 2013 18:38:56 +0000 (13:38 -0500)
It seems to be unused since several years (commit
be995c27640a82c7056b6f53d02ec823570114e5 in 2006).

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Message-id: 1373044036-14443-1-git-send-email-sw@weilnetz.de
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
exec.c
include/exec/cpu-all.h

diff --git a/exec.c b/exec.c
index 03fdf7e730413a055a9014277d3a25693cc7c6ad..485d81100fca9f63f8772db7d870df36a6a0ded6 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -53,7 +53,6 @@
 //#define DEBUG_SUBPAGE
 
 #if !defined(CONFIG_USER_ONLY)
-int phys_ram_fd;
 static int in_migration;
 
 RAMList ram_list = { .blocks = QTAILQ_HEAD_INITIALIZER(ram_list.blocks) };
index 35bdf858f2696e73c1908c23c7f5dc3d842bd4c0..e791c05c4d40cb575cea3751d13542bbe53ca016 100644 (file)
@@ -447,7 +447,6 @@ hwaddr cpu_get_phys_page_debug(CPUArchState *env, target_ulong addr);
 
 /* memory API */
 
-extern int phys_ram_fd;
 extern ram_addr_t ram_size;
 
 /* RAM is pre-allocated and passed into qemu_ram_alloc_from_ptr */