Remove type field in ModuleEntry as it's not used.
PATCH 1/1 Remove type field in ModuleEntry as it's not used.
Signed-off-by Chen Yufei <[email protected]>
--- module.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
module.c +0 -1
@@ -19,7 +19,6 @@typedef struct ModuleEntry { -module_init_type type;void (*init)(void );QTAILQ_ENTRY (ModuleEntry) node; }ModuleEntry ;
Signature · 1 line
1.7.3.2
Am 07.03.2012 16:36, schrieb Chen Yufei:
Quoted 1 line
Signed-off-by Chen Yufei <[email protected]>
There's separate init_type_list[]s per type and the type field is not even initialized, so:
Acked-by Andreas Färber <[email protected]>
Thanks,
Andreas
Quoted 16 lines
--- module.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)module.c +0
-1@@ -19,7 +19,6 @@typedef struct ModuleEntry { -module_init_type type;void (*init)(void );QTAILQ_ENTRY (ModuleEntry) node; }ModuleEntry ;
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Stefan Hajnoczi
AppliedQuoted 4 lines · Chen Yufei
Signed-off-by Chen Yufei <[email protected]>--- module.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
Stefan