Commit 57864959 authored by Isaku Yamahata's avatar Isaku Yamahata Committed by Blue Swirl
Browse files

pc: make an unnecessary global variable, pit, local.



remove unnecessary global static variables, pit.
Make it local.

Signed-off-by: default avatarIsaku Yamahata <yamahata@valinux.co.jp>
Acked-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
parent f885f1ea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;