[PATCH EDAC] edac: remove proc_name from mci structure

From: Mauro Carvalho Chehab
Date: Wed Feb 20 2013 - 06:01:21 EST


proc_name isn't used anywhere. Remove it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
---
include/linux/edac.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/include/linux/edac.h b/include/linux/edac.h
index 28232a0..bd14f5c 100644
--- a/include/linux/edac.h
+++ b/include/linux/edac.h
@@ -48,7 +48,6 @@ static inline void opstate_init(void)
}

#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
@@ -634,7 +633,6 @@ struct mem_ctl_info {
const char *mod_ver;
const char *ctl_name;
const char *dev_name;
- char proc_name[MC_PROC_NAME_MAX_LEN + 1];
void *pvt_info;
unsigned long start_time; /* mci load start time (in jiffies) */

--
1.8.1.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/