Skip to contentSkip to conversation

Remove type field in ModuleEntry as it's not used.

PATCH Applied Chen Yufei 3 participants 3 messages Mar 7, 2012 – Mar 15, 2012

lore
Share & tools
lore

Chen Yufei

author
#0 lore raw

PATCH 1/1 Remove type field in ModuleEntry as it's not used.

---
 module.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
module.c +0 -1
index 106a969..c3a6da7 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw

Am 07.03.2012 16:36, schrieb Chen Yufei:

Quoted 1 line

There's separate init_type_list[]s per type and the type field is not even initialized, so:

Thanks,
Andreas

Quoted 16 lines
---
 module.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
module.c +0 -1
index 106a969..c3a6da7 100644
@@ -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