diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2010-05-14 16:29:05 +0900 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-05-15 15:37:37 +0000 |
commit | 57864959a4279dbea07e039a54f5022488f135cb (patch) | |
tree | 3fc0322ae1dd80185393826ef34be291bf728e0f /hw/pc.c | |
parent | f885f1eaa8711c06033ceb1599e3750fb37c306f (diff) |
pc: make an unnecessary global variable, pit, local.
remove unnecessary global static variables, pit.
Make it local.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/pc.c')
-rw-r--r-- | hw/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -67,7 +67,6 @@ static FDCtrl *floppy_controller; static RTCState *rtc_state; -static PITState *pit; #define E820_NR_ENTRIES 16 @@ -835,6 +834,7 @@ static void pc_init1(ram_addr_t ram_size, DriveInfo *hd[MAX_IDE_BUS * MAX_IDE_DEVS]; DriveInfo *fd[MAX_FD]; void *fw_cfg; + PITState *pit; if (ram_size >= 0xe0000000 ) { above_4g_mem_size = ram_size - 0xe0000000; |