Skip to contentSkip to conversation

ModuleEntry field type not used

Qemu-devel Chen Yufei 1 participant 1 message Mar 6, 2012

lore
Share & tools
lore

Chen Yufei

author
#0 lore raw

In module.c

    typedef struct ModuleEntry
    {
        module_init_type type;
        void (*init)(void);
        QTAILQ_ENTRY(ModuleEntry) node;
    } ModuleEntry;

The field type is not set in register_module_init. As different types of modules use their own list, I guess this field is no long being used, and I have no problem compiling qemu after deleting this filed.

--
Best regards,
Chen Yufei