diff mbox

exec: Remove unused global variable phys_ram_fd

Message ID 1373044036-14443-1-git-send-email-sw@weilnetz.de
State Accepted
Headers show

Commit Message

Stefan Weil July 5, 2013, 5:07 p.m. UTC
It seems to be unused since several years (commit
be995c27640a82c7056b6f53d02ec823570114e5 in 2006).

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 exec.c                 |    1 -
 include/exec/cpu-all.h |    1 -
 2 files changed, 2 deletions(-)

Comments

Andreas Färber July 6, 2013, 12:08 a.m. UTC | #1
Am 05.07.2013 19:07, schrieb Stefan Weil:
> It seems to be unused since several years (commit
> be995c27640a82c7056b6f53d02ec823570114e5 in 2006).
> 
> Signed-off-by: Stefan Weil <sw@weilnetz.de>

Confirmed unused,

Reviewed-by: Andreas Färber <afaerber@suse.de>

Andreas
Anthony Liguori July 10, 2013, 7:33 p.m. UTC | #2
Applied.  Thanks.

Regards,

Anthony Liguori
diff mbox

Patch

diff --git a/exec.c b/exec.c
index c49806c..e8f95a9 100644
--- 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) };
diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h
index 35bdf85..e791c05 100644
--- a/include/exec/cpu-all.h
+++ b/include/exec/cpu-all.h
@@ -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 */