qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] ModuleEntry "type" field not used


From: Chen Yufei
Subject: [Qemu-devel] ModuleEntry "type" field not used
Date: Tue, 6 Mar 2012 19:32:43 +0800

Hi, I find that in module.c

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


The field `type` in `ModuleEntry` 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. Is there any reason to
preserve this field?

My previous email seems failed to deliver to the mailing list, forgive
me if this one duplicates.

-- 
Best regards,
Chen Yufei



reply via email to

[Prev in Thread] Current Thread [Next in Thread]