Explorar el Código

edac: remove proc_name from mci structure

proc_name isn't used anywhere. Remove it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab hace 12 años
padre
commit
c2c93dbc97
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  1. 0 2
      include/linux/edac.h

+ 0 - 2
include/linux/edac.h

@@ -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 {
 	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) */