提交 c2c93dbc 编写于 作者: M Mauro Carvalho Chehab

edac: remove proc_name from mci structure

proc_name isn't used anywhere. Remove it.
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 c66b5a79
...@@ -48,7 +48,6 @@ static inline void opstate_init(void) ...@@ -48,7 +48,6 @@ static inline void opstate_init(void)
} }
#define EDAC_MC_LABEL_LEN 31 #define EDAC_MC_LABEL_LEN 31
#define MC_PROC_NAME_MAX_LEN 7
/** /**
* enum dev_type - describe the type of memory DRAM chips used at the stick * enum dev_type - describe the type of memory DRAM chips used at the stick
...@@ -633,7 +632,6 @@ struct mem_ctl_info { ...@@ -633,7 +632,6 @@ struct mem_ctl_info {
const char *mod_ver; const char *mod_ver;
const char *ctl_name; const char *ctl_name;
const char *dev_name; const char *dev_name;
char proc_name[MC_PROC_NAME_MAX_LEN + 1];
void *pvt_info; void *pvt_info;
unsigned long start_time; /* mci load start time (in jiffies) */ unsigned long start_time; /* mci load start time (in jiffies) */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册